a class of six student took examinations. write an interactive C++ program a. that will accept each student registration number and the exam scores as input, determine the average score for each class. b. That determine the overall class average. c. That determine and print deviation from the class average for each student. d. That count and print the number of students that score 75 and above.
Q: Write a program that reads two pieces of information: the hourly wages and the number of hours…
A: step 1: ask for employee hourly wages step 2: ask for the number of hours worked step 3: calculate…
Q: Write a C Program that allows a user to enter any number of student test scores until the user…
A: Program: TestScoreStatistics.h #ifndef TestScoreStatistics_H #define TestScoreStatistics_H…
Q: Write a program that will calculate and print out bills for the city water company. The water rates…
A: The answer to the following question:-
Q: Write a program that reads two pieces of information: the hourly wages and the number of hours…
A: Required: Write a python program to calculate the net salary based on given instructions. all the…
Q: Write a program with total change amount in pennies as an integer input, and output the change using…
A: First, figure out how we want to represent the data on the computer: Data Representation: Represent…
Q: Write an interactive C program that calculates a customer’s bill for the Jumbo telecommunication…
A: PROGRAM: //Header file #include <stdio.h> #include <stdlib.h> //Declaring the function…
Q: Develop a program that calculates the final score and the average score for a student from his/her…
A: Main() Method : Declare variables for name, class test score, test score, assignment score, exam…
Q: Write a program that takes user input describing a playing card in the following shorthand…
A: Hello Student. Greetings Hope you are doing great. As you have not specified any particular language…
Q: write a program in VB that requires from user to insert the total number of students and the number…
A: ' Program that reads total student and successful student and calculate' and display percentage of…
Q: Suppose that the average age of a Python programmer at Google is 30 and the average age of a Java…
A: Given that, The average age of the Python programmer at Google is 30 The average age of the Java…
Q: For some of our courses at ISU, final letter grade will be assigned based on the shown scale:…
A: According to the question below the Complete Program: Program Output:
Q: 3. Write a program that takes a bank account balance and an interest rate as an input. And then…
A: #include<stdio.h>int main(){ int initialBalance; float interestRate; int…
Q: Write a program with total change amount in pennies as an integer input, and output the change using…
A: Actually, 000Java is a programming language originally developed by James Gosling at Sun…
Q: Given the value of n from the user, write a program that will display the first n even numbers. Ex.…
A: Programming approach:- Using the necessary header file. Using namespace standard input/output.…
Q: Write a program for the Animal Express delivery company. The company charges by the kilogram for…
A: Python used to answer this question
Q: Write a program that takes the X-Y coordinates of a point in the Cartesian system and displays a…
A: We have to write Code and draw a flowchart for the following question:
Q: CREATE A C++ PROGRAM THAT ASKS THE USER IF HE/SHE IS PWD OR SENIOR CITIZEN IF YES, THEN GIVE 20% OFF…
A: #include <iostream>#include <string>#include <string> using namespace std; int…
Q: Suppose someone pays 100.00 during the first year and that yearly payment keeps on doubling. Display…
A: START DECLARE year = 1 and payment = 100 WHILE payment <= 50000 do steps 4 to 5 INCREMENT year by…
Q: Write a program with total change amount as an integer input, and output the change using the fewest…
A: Below is the code in C++ as language not specified and sample output:
Q: Write a program that determines an integer value the user had in mind. Your program first asks the…
A: def startGame(l, u): while l != u: number = (l + u) // 2 print("Is the number…
Q: Write a program to convert a measurement given in feet to the equivalent number of (a) yards, (b)…
A: Program requirements: The c++ program prompts the user to enter the value for feet and then…
Q: Write a program that calculates and prints the bill for a cellular telephone company. The company…
A: code snippet:
Q: Write a complete interactive CSharp program that prompts the user for the volume and height of the…
A: Using Cylinder Volume formula we can find the radius and twice of this radius is diameter Using…
Q: Write a program with total change amount as an integer input, and output the change using the fewest…
A: Code: #include <stdio.h>int main(){ int cents,dollars,quarters,dimes,nickels,pennies;…
Q: Write a program with total change amount as an integer input, and output the change using the fewest…
A: Thank you for your question. As you have not mentioned any specific programming language for the…
Q: Write a program that reports the contents of a compressed-gas cylinder based on the first letter of…
A: Actually, program is an executable software that runs on a computer.
Q: A square is inscribed inside a circle. Write an interactive C program that prompts for and reads the…
A: Code: #include <stdio.h> #include <math.h> #define PIE 3.141592 int main() {…
Q: in python: Write a program with total change amount as an integer input, and output the change…
A: In this question, first, we divide the input by 100 to make in dollars, and the remainder of the…
Q: Write a program that creates a login name for a user, given the user's first name, last name, and a…
A: Textual Python Code :- firstName = input ("Enter first name :")lastName = input("Enter last name :…
Q: In Python Write a program that computes the fuel efficiency for a multi-leg journey. The program…
A: def main(): #Prompt the user to enter the input. start_odo = float(input("Enter the initial…
Q: : Which fast food restaurant provides the healthiest food: 1. McDonalds 2. Jack in the Box 3.…
A: #include <iostream>using namespace std; // This function prints the menuvoid menu() { cout…
Q: Write a C program to ask the user to input the name of boy and name of girl. Count the number of…
A: code : #include<stdio.h>int main(){ char boy_name[20],boy_cmn[20]; char…
Q: Write an interactive C program that prompts for and reads an integer number between 1,100 and…
A: Algorithm: The algorithm for the program is: Start Initialise the variables Read an integer between…
Q: Write a program for the Animal Express delivery company. The company charges by the kilogram for…
A: The python code is shown in the following steps.
Q: Write a program that calculates and prints the bill for a cellular telephone company. The company…
A: C++ Code: #include <iostream>#include <iomanip> using namespace std;int main(){ int…
Q: Write a program that computes the fuel efficiency of a multi-leg journey. The program will first…
A: Python code :- def question9(): print("Question 9) # arrays to store miles and gas used…
Q: gram in C that displays the classic BINGO game, displays a BINGO card (5x5 square), and tests the…
A: Write a program in C that displays the classic BINGO game, displays a BINGO card (5x5 square), and…
Q: Create a program that will input the 3 game scores of a player and then output the level of the…
A: Since there are no messages given in the question for the condition where the weighted average falls…
Q: 1. Write a program that will read an employee name (use your Name as input in employee name),…
A: Solution - Programming Language - C All necessary comments are included in program code. Program…
Q: Write a program that computes the fuel efficiency of a multi-leg journey. The program will first…
A: We need to write a Python program for given scenario.
Q: Suppose that the average age of a Python programmer at Google is 30 and the average age of a Java…
A: Given that, The average age of the Python programmer at Google is 30 The average age of the Java…
Q: Write a program that creates a login name for a user, given the user's first name, last name, and a…
A:
Q: A certain CS professor gives 100-point exams that are graded on the scale 90-100:A, 80-89:B,…
A: Since no programming language is mentioned, I am using python Algorithm: Start Read exam score If…
Q: Write a program that asks the user his/her name(first letter), semester, mlarks, and age and then…
A: Code : import java.util.*;class input{ public static void main(String[] args){ Scanner input = new…
Q: Write a program that mimics a calculator. The program should take as input two integers and the…
A: #include <iostream>#include <iomanip>using namespace std;int main(){char op;int…
Q: Implement a program that calculates the bill of a sandwich stand. The program should ask the user to…
A: We need to write a program that calculates the bill of a sandwich stand. The program will ask the…
Q: CREATE A PROGRAM THAT ASKS THE USER IF HE/SHE IS PWD OR SENIOR CITIZEN IF YES, THEN GIVE 20% OFF IF…
A: As no programming language is mentioned here, we are writing this program in python price =…
Q: Write a program for the Animal Express delivery company. The company charges by the kilogram for…
A: Note: Since no programming language is mentioned. I am attempting this in python. if you need it in…
a class of six student took examinations. write an interactive C++
a. that will accept each student registration number and the exam scores as input, determine the average score for each class.
b. That determine the overall class average.
c. That determine and print deviation from the class average for each student.
d. That count and print the number of students that score 75 and above.
Step by step
Solved in 2 steps
- Write a program for a Bookstore to take an order from a customer, calculate how much to charge a customer based on his/her order, and display a receipt. The store sells only three books, designated by their authors: Cervantes ($41.25 each), Homer ($15.85 each), and Shakespeare ($30.50 each). Your program is to work as follows: Display a welcome message (e.g., “Welcome to the Bookstore!”) Prompt the user for his/her first name Prompt the user to input the number of books by Cervantes s/he wants Prompt the user to input the number of books by Homer s/he wants Prompt the user to input the number of books by Shakespeare s/he wants Compute the total amount due, including a 10% sales tax Display amount due Ask the user how much money s/he will pay Display a receipt listing the name of the user, the quantity of each item ordered, the total cost of the order, and the amount the user will have left after paying Execution of the compiled program should appear roughly as follows (with red…Write a C++ program that asks the user to enter the number of books purchased this month and then displays the number of points awarded. An online book club awards point to its customers based on the number of books purchased each month. Points are awarded as follows: Books Purchased Points earned 0 0 1 5 2 15 3 30 4 or more 60(C++) Write a program with total change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dimes, Nickels, and Pennies. Use singular and plural coin names as appropriate, like 1 Penny vs. 2 Pennies
- A certain CS professor gives 100-point exams that are graded on the scale90-100:A, 80-89:B, 70-79:C, 60-69:D, <60:F. Write a program that accepts an exam score as input and prints out the corresponding grade.Imagine you are working for a lumber company, and your employer would like a program that calculates the cost of lumber for a customer order. The company sells pine, fir, cedar, maple, and oak lumber. The lumber is priced by board feet. One board foot equals one square foot that is one inch thick. The price per board foot is given in the following table: Pine 0.89 Fir 1.09 Cedar 2.26 Maple 4.50 Oak 3.10 The lumber is sold in different dimensions (specified in inches of width and height, and feet of length) that need to be converted to board feet. For example, a 2 x 4 x 8 piece is 2 inches wide, 4 inches high, and 8 feet long, and is equivalent to 5.333 board feet (2 * 4 * 8 = 64, which when divided by 12 = 5.333 board feet). Create a blank c++ Give the customer instructions and then ask the user (customer) to identify the items they wish to purchase by inputting the type of wood, the length, width, & heights of the board, and the number of boards they desire. Allow the user to…In C++ , Write a program for a Bookstore to take an order from a customer, calculate how much to charge a customer based on his/her order, and display a receipt. The store sells only three books, designated by their authors: Cervantes ($41.25 each), Homer ($15.85 each), and Shakespeare ($30.50 each). Your program is to work as follows: Display a welcome message (e.g., “Welcome to the Bookstore!”) Prompt the user for his/her first name Prompt the user to input the number of books by Cervantes s/he wants Prompt the user to input the number of books by Homer s/he wants Prompt the user to input the number of books by Shakespeare s/he wants Compute the total amount due, including a 10% sales tax Display amount due Ask the user how much money s/he will pay Display a receipt listing the name of the user, the quantity of each item ordered, the total cost of the order, and the amount the user will have left after paying Execution of the compiled program should appear roughly as follows…
- Write a C Program that allows a user to enter any number of student test scores until the user enters 999. If the score entered is less than 0 or more than 100, display an appropriate message and do not use the score. After all the scores have been entered, display the number of scores entered, the highest score, the lowest score, and the arithmetic average. Save the Project as TestScoreStatistics. *Use loops and functionsA certain CS professor gives 100-point exams that are graded on the scale 90-100:A, 80-89:B, 70-79:C, 60-69:D, <60:F. Write a program that ac-cepts an exam score as input and prints out the corresponding grade.Write a C++ program that generates a plate number based on the user’s answer to the following questions: 1. What is your favorite color of the rainbow (ROYGBIV)? a. Use the first letter of the chosen color as the first character of the plate number. b. Display “Invalid Input” and ask the user to re-enter his/her answer if the answer is not a valid color of the rainbow. 2. What is your month of birth? a. Use the last letter of the month as the second character of the plate number. b. Display “Invalid Input” and ask the user to re-enter his/her answer if the answer is not a valid month. 3. What is your first name? a. Use the third letter of the first name as the third character of the plate number. No need to include the second name if you have a second name. Make sure to use “cout” and “cin” to collect the necessary inputs from the user. For the number section: 1. Ask the user his/her age and use the age as the first and second digits of the plate…
- In C++ language, create a program that gets quarterly sales from a user, and calculates the total of all four quarters as well as the average, lowest, and highest quarters. Console Example that should be used/followed when executed The Quarterly Sales program Enter sales for Q1: 12312.57 Enter sales for Q2: 15293.21 Enter sales for Q3: 14920.95 Enter sales for Q4: 23432.21 Total: 65958.94 Average Quarter: 16489.74 Lowest Quarter: 12312.57 Highest Quarter: 23432.21 Specifications: Create the pseudocode needed to implement the solution above. Convert your pseudocode to C++ code including the following specifications: Round the average quarter to a maximum of 2 decimal digits. Use a vector to store the sales for each quarter. Use STL algorithms to process the data for the quarters. Please make sure the average is ROUNDED 2 places to get the output 16489.74 instead of 16489.73Write a program that calculates and prints the bill for a cellular telephone company. The company offers two types of service: regular and premium. Rates vary based on the type of service and are computed as follows:Write a program that determines an integer value the user had in mind. Your program first asks the user to enter the lower and upper bounds of the range that the integer belongs to, and then presents a series of questions “Is the number greater than x?” with yes/no answers to the user in order to determine the integer value that the user had in mind. For instance, if the integer in mind is 5 and the interaction between the user and your program is: Please enter the lower bound: -10 Please enter the upper bound: 50 Is the number greater than 20 (Y/N)? n Is the number greater than 4 (Y/N)? y Is the number greater than 12 (Y/N)? n Is the number greater than 8 (Y/N)? n Is the number greater than 6 (Y/N)? n Is the number greater than 5 (Y/N)? n Your program should then print: The number you had in mind is 5 Your program should ask roughly log2(upper_bound − lower_bound) questions. Your program A3_1.py should include a main() function and may include other functions that you prefer.…