Create a c++ quiz program, in this program it has a 10 questions that the user will answer. The program has the following functions:
A. It will show the message (Correct) if the the answer is correct and (Wrong) if the answer is wrong
B. It can compute the total score
C. If the user Failed in the quiz it will ask the user if he wants to retake the quiz. ( 6 is the passing rate)
C1.1If he select Yes he will take the quiz again.
C1.2. If he select No the program will automatically closed.
Extra 10 points: use system(“clear”) to clear the the previous data in the screenx
Write c++ code that
(1)Please program to output all integers between 0 and 200 that are divisible by 3 and whose single digit is 6.
(2)run test the code in main
Write c++ code that
(1) Please enter the value of a year through the keyboard.
(2) Please program to determine whether the entered year is a leap year.
(3) The conditions for a leap year are: divisible by 4 but not divisible by 100; or divisible by 400.
(4)run test the code in main
The government has decided to charge 0.5% tax on every car purchased from the Ghana car company. Write a program to
a. Request for user name and password. The username and password should grant access to the program if correct.
b. A function that calculates and display tax on any car purchased.
c. The program should be able to perform “b” above at least 10 times.
d. Assuming sales have now him up and the government has scraped the tax incentive. A tax if 25% now imposed on each car sale. Modify a portion of the code to reflect the new development.
e. Explain how the Ghana Revenue Agency can use your program to calculate tax on goods imported into the country.
*Write a C++ program having class time that has 3 private data members (h, m, s) to store, hours, minutes and seconds; 3 public member functions to (i) set time, (ii) print universal time, and (iii) print standard time.*
Note: Initialize object to zero, using member initializers.
postfix to infix conversion in c++ prograqmme
Assign and print the ID number, phone
number, and address of three students. The object names are "Sam", "John", and "Alex". Use the information provided below.
Use the principle of User Input, The console is asking the user about the name of the student and then the computer will return the information.
Use a Constructor to code the initialized the values upon creating the object. (Inside or Outside class defined)
Student Information:
Sam
ID No: 2021456
Phone No: 656678
Address: Cupang
John
ID No: 2021457
Phone No: 898889
Address: Alabang
Alex
ID No: 2021458
Phone No: 343456
Address: Tuansan
Write c++ program that
(1) Write a program that declares a single-dimensional arrays named num.
(2) The numbers to be stored in num are 45, 86, 12, 37, 28, 113.
(3) Sum odds and evens separately.
(4) Finally, give the results that will be displayed on the screen.
(5)run test it in main
School Library system
Problem Statement
You are a young tech-entrepreneur who provides technology solutions to challenges faced in the education sector of your country. You decide to build a school library management system that will allow a student to get registered, request to borrow a book from the library through the system and also put in a request to return the book, and a Librarian who will be there to approve requests and accept/check in returned books and update the system.
Required
1.
A Librarian should be able to do all the minimum roles stated, which are:
e.Change/Updatetheirownloginpassword.
f. Fine the students by debiting their library account balance if they have exceeded the number of days that they were to return book. (optional functionality)
Problem Statement
You are a young tech-entrepreneur who provides technology solutions to challenges faced in the education sector of your country.You decide to build a school library management system that will allow a student to get registered,request to borrow a book from the library through the system and also put in a request to return the book, and a Librarian who will be there to approve requests and accept/check in returned books and update the system.
Required
1.A Librarian should be able to do all the minimum roles stated, which are: a. Login to the system. b. Register a student user to the system i. On top of basic personal details (username and password), it is a must to have student deposit a flat fee of 1000 shillings in the student’s library account. c. Approve student’s request to borrow/rent out a book d. Accept returned book and update system.