// A program to revise the following concepts // Declaring, initialising, modifying and printing variables of types // int, double, char // Using a simple expression // // Written by: Angela Finlayson // Date: 14/09/2024 #include int main(void) { int number_of_weeks = 10; double distance_in_cm = 95.5; char grade = 'B'; printf("There are %d weeks\n", number_of_weeks); printf("The distance is %lfcm\n", distance_in_cm); printf("You got a %c!\n", grade); distance_in_cm = distance_in_cm - 5; printf("The distance is now %lfcm\n", distance_in_cm); return 0; }