Write a program to declare one integer variable and give it an appropriate
value using scanf(). You are required to print the number and print the result
when the variable is compared with 5 by using == and !=. Write an output.
Answers
Answered by
1
Answer:
int variable_name1 [= value1];
int variable_name1 [= value1] [, variable_name2 [= value2], ... variable_name_n [= value_n]];
short int variable_name1 [= value1];
#include <stdio.h>
int main()
{
int age;
age = 10;
print over %d years old.\n", age);
return 0;
}
int age = 10;
#include <stdio.h>
int main()
{
int age = 10;
}
Similar questions