Computer Science, asked by shaikfiaz777, 4 months ago

write a program to declare two integer variables and give them appropriate values in the program itself (without scanf()) . you are required to print the two numbers and print the result of the two operaters used for division. write an output​

Answers

Answered by saran00766
2

include <stdio.h>

int main()

{

int firstInt, secondInt;

printf("Enter an integer: ");

scanf("%d", &firstInt);

printf("Enter an integer: ");

scanf("%d", &secondInt);

printf("firstInt: %d\nsecondInt: %d\n", firstInt, secondInt);

printf("firstInt / secondInt = %d\n", firstInt / secondInt);

return 0;

}

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions