- Joined
- Feb 15, 2025
- Messages
- 1
- Reaction score
- 0
So I was just making a basic program and visual studio and it is saying that I can't convert from int to short when I made the variable a short.
Here is the code part:
short years;
short anniversaries;
years = 7; // remember to make this imput based soon
anniversaries = year/4 ;
and it is saying can't convert from int to short
Here is the code part:
short years;
short anniversaries;
years = 7; // remember to make this imput based soon
anniversaries = year/4 ;
and it is saying can't convert from int to short