Question: Student ID Student Name: 019: Whte a C program to do the following (2 mark) Initiase three namespace blocks: firatNamespace with two variables with int
Student ID Student Name: 019: Whte a C program to do the following (2 mark) Initiase three namespace blocks: firatNamespace with two variables with int data type, secondNamespace with two variables with string data type, and thirdNanespace with two variables with double data type Print the first variable from a. b. firatNanespace and first variable from thirdNamespace Q20: Write a C++ program to do the following (2 mark): a. Initiate 1x6 one-dimensional celsiusDegrees array with the values 25.6, 28.4, 39.6, 400, 44.01, and 54.06. Print the celsiusDegrees. Assign the value of the third index of the celsiusDegrees index. Assign the value of the last index of the celsiusDegrees to the sum of the first and third indices. b. e. to the fifth d. 021: Write a C++ program to do the following (2 mark): Initiate a void function to accept five speeding claims from Saher system with 100.5, 112, 180, 60, and 115 km/h values a. b. Initiate two Boolean variables to represent whether the drivers were
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
