Computer Science, asked by preeti7723, 8 months ago

Print int (-12.67) will Display the result

Answers

Answered by Anonymous
1

Answer:

#include <stdio.h>

int main() {

int number;

printf("Enter an integer: ");

// reads and stores input

scanf("%d", &number);

// displays output

printf("You entered: %d", number);

return 0;

}

Similar questions