Programming HSC ICT
Programming HSC ICT
Example Code:
int a;
scanf("%d", &a);
if(a % 2 == 0) printf("Even");
else printf("Odd");
Example:
int a = 5, b = 2;
printf("%d", a % b);
Answer: 1
int i;
Output: 123
-> Trick: Condition + Loop + Output ei 3ta part valo korle 80% Programming done!
* Output question solve korar best way - nijer mathay execute koro line by line.