/* SumImproved.c by Kari Laitinen This is a simple calculator program that can calculate the sum of the two integers that are typed in from the keyboard. */ #include int main() { int first_integer_from_keyboard ; int second_integer_from_keyboard ; int sum_of_two_integers ; printf( "\n Please, type in an integer: " ) ; scanf( "%d", &first_integer_from_keyboard ) ; printf( "\n Please, type in another integer: " ) ; scanf( "%d", &second_integer_from_keyboard ) ; sum_of_two_integers = first_integer_from_keyboard + second_integer_from_keyboard ; printf( "\n The sum of %d and %d is %d \n", first_integer_from_keyboard, second_integer_from_keyboard, sum_of_two_integers ) ; }