This document provides 10 coding challenges for a practical C programming test. The challenges include printing a personalized greeting, initializing and printing variables, printing the date, performing date arithmetic, initializing variables and performing math operations on them like multiplication and addition, printing a joke and explanation, printing "hello world", printing a 12 times table, and printing "hi" forever. An extra credit challenge involves a program that performs division, multiplication, addition, and subtraction on two given numbers and prints the results.
This document provides 10 coding challenges for a practical C programming test. The challenges include printing a personalized greeting, initializing and printing variables, printing the date, performing date arithmetic, initializing variables and performing math operations on them like multiplication and addition, printing a joke and explanation, printing "hello world", printing a 12 times table, and printing "hi" forever. An extra credit challenge involves a program that performs division, multiplication, addition, and subtraction on two given numbers and prints the results.
This document provides 10 coding challenges for a practical C programming test. The challenges include printing a personalized greeting, initializing and printing variables, printing the date, performing date arithmetic, initializing variables and performing math operations on them like multiplication and addition, printing a joke and explanation, printing "hello world", printing a 12 times table, and printing "hi" forever. An extra credit challenge involves a program that performs division, multiplication, addition, and subtraction on two given numbers and prints the results.
1. Write a program that prints Hello (your name) on the console. 2. Write a program that creates a variable and initializes it, then prints its value on the screen. 3. Write a program that prints the date on the screen. 4. Write a program that prints tomorrows date will be ___ 5. Write a program that creates a variable and initializes it, multiplies it by two then prints its value on the screen. 6. Write a program that creates and initializes two variables then adds them together and prints the result. 7. Write a program that prints a joke, wait a moment, then explains it (we will help with the wait) 8. Write a program that prints hello world on the screen. 9. Write a program that prints the 12 times tables up to 1000 x 12 10. Write a program that print hi on the screen forever
11. EXTRA POINTS: Write a program that given two numbers at the top will divide, multiply, add and subtract those numbers and print the results.