[solved] – Question 9689

-accumulate grand totals for ours worked and total salary
-output all the data for every record stored in memory at one time.

THe program must contain a main method with a menu and a minimum of two other methods besides the main method. The menu must also contain a choice to exit the program.

Expert Answer


[solved] – Question 96899

What is the difference between cookies and session? In what circumstance should someone use
cookies or session? Support your answer with practical Examples.

Expert Answer


[solved] – Question 96948

Students with register number 1 to register number 50 are assigned to boys labelled as 1,2,3… 50 and students from register number 51 to register number hundred are assigned to girls labelled as 51, 52,…100.Execute various methods to display the set of students such that there is an alternating sequence of register numbers of boys and girls.

Expert Answer


[solved] – Question 96955

conduct a survey from 10 people to discover most popular sport. the result will be typed in to the computer for analysis at the end of the survey analysis the result and disply the most popular sports “type in the letter Q for finish”
A athletes
B swimming
C football
D badminton

Expert Answer


[solved] – Question 96961

Create a program in which describe class Flower. This class will have 5 subclasses, which will be self-defined. Each flower class will have color and price. Color is represented by one symbol (Red – ’r’, Yellow – ‘y’, etc.). User enters 3 colors and your program should show the price of the user’s bouquet.

Expert Answer


[solved] – Question 96979

Write a program that asks the user to input their first and last names Weite a program that prompts the user to input 2 numbers, a numerator and a divisor. Your program should divide the numerator by thr divisor, and display the quotient and remainder

Expert Answer


[solved] – Question 96980

A fixed percentage of water is taken out from a tank each day. Write a program, Tank.cpp, that
accepts as input:
 W, representing the amount of water in the tank at the start of the first day
 P, representing the fixed percentage of water taken out of the tank each day
and, starting from the first day, displays the number of the day, the amount of water taken out for
that day, and the amount of water remaining in the tank at the end of that day. Your program should
terminate after 30 days have been displayed or when the amount of water remaining is less than
100 units, whichever comes first.

Expert Answer


[solved] – Question 96981

Write a program to display a table of sin(x) and cos(x) function values:
a sin(a) cos(a)
==============================
0.0 xxx.xxxx xxx.xxxx
30.0 xxx.xxxx xxx.xxxx
45.0 xxx.xxxx xxx.xxxx
60.0 xxx.xxxx xxx.xxxx
90.0 xxx.xxxx xxx.xxxx
——————————
where column “a” has angle values in degree; columns “sin(a)” and “cos(a)” give respective function values of each angle. The first column has a fixed width of 6 character spaces, and the angles are displayed with one decimal digit. The second and the third columns have a fixed width of 12 character spaces each, and the function values are calculated by using sin() and cos() functions from the <cmath> library and the values are displayed with four decimal digits. All columns should be right-justified.

Expert Answer


[solved] – Question 97011

Computer cannot perform anything on its own..thus any error in output is not a technicological error..comment?

Expert Answer


[solved] – Question 97041

2.3 Code Practice: Question 3
Write a program that accepts a time as an hour and minute. Add 15 minutes to the time, and output the result.

Example 1:

Enter the hour: 8
Enter the minute: 15
It displays:

Hours: 8
Minutes: 30
Example 2:

Enter the hour: 9
Enter the minute: 46
It displays:

Hours: 10
Minutes: 1

Expert Answer