# programming

Popular questions
1. ## Programming

Write a pseudocode to represent the logic of a program that allows a user to enter an hourly pay rate and hours worked. The program outputs the user's gross pay

asked by Sunshine on April 17, 2019
2. ## Programming

Write a program (pseudocode) that would calculate and display the results for the multiplication table for values ranging from 1 to 100. This what I have so far: Declare X, Y, Z As Integer Write “10 x 10 Multiplication Table” For (X = 1; X

asked by Amanda on March 11, 2012
3. ## Programming

Mandi, Amy, Nicole, and Olivia all ran different distances in different time intervals. Their distances (in miles) and times (in minutes) are as follows: ---------- name

asked by Mr Dude on July 19, 2019
4. ## Programming

Design a program in pseudocode that calculates the amount of money a person would earn over a period of time if their salary is one penny the first day, and then doubles each day. The program should ask the user for the number of days. Display what the

asked by Ant on May 21, 2010
5. ## programming

Write a program that will ask the user to enter a person's age, weight and birth month. Your program will compare the entered value to the following and print the appropriate response. Be sure to use modules. The secret answers: age=25 The comparison: if

asked by Jeniffer on May 22, 2012
6. ## programming

write a pseudocode to accept item name, price, and quality from a user and display the item name and it's total value. the total value can be calculated as the product of price and quality

asked by germain on November 14, 2014
7. ## programming

A hotel’s occupancy rate is calculated as follows: Occupancy rate = number of rooms occupied total number of rooms Write a program that calculates the occupancy rate for each fl oor of a hotel. The program should start by asking for the number of fl oors

asked by AB on May 22, 2012
8. ## programming

create the logic for a program that calculates and displays the amount of money you would have if you invested \$5000 at 2 percent simple interest for one year. create a separate method to do the calculation and return the result to be displayed.

asked by Brian on October 28, 2014
9. ## Programming

Write pseudocode to represent the logic of a program that allows the user to enter a value for hours worked in a day. The program calculates the hours worked in a five day week and the hours worked in a 252 day work year. The program outputs all the

asked by Isaiah on June 2, 2019
10. ## Programming

Write the pseudocode for a program to calculate the wages of a sales according to the following rules. The wage is calculated at a rate of 15% of sales. If the salesman has been with the company more than three years, he receives a loyalty bonus of 10% of

asked by Derrick on February 3, 2012
11. ## Programming

Given below is a list of popular programming languages in some specific domains: Java in Android Swift in IOS C# .NET in Desktop Application PHP in Web Applications Python in Artificial Intelligence and Machine learning C in Embedded Programming/ System

asked by Learner on August 6, 2019
12. ## Programming

write a pseudo code and then draw a flowchart to calculate tax deduction of employess salary >2000, tax is 7% and salary

asked by lidetu on November 28, 2018
13. ## programming

Example Develop a pseudocode algorithm for a program that accepts each of the average marks of 10 students in a class and computes the sum and the average mark of the class. The program should display the average mark of the class. Begin Set total to zero

asked by yvonne on June 27, 2016
14. ## programming

This pseudocode should detrmine the rental fees for cars // Standard cars rent for \$65 per day; compacts rent for \$40 per day // and subcompacts rent for \$30 per day // Rentals for at least 7 days receive a 20% discount // An error message is displayed if

asked by steve on December 1, 2011
15. ## Programming

Language - PYTHON Design a program that calculates the total amount of a meal purchased at a restaurant. The program should ask the user to enter the charge for the food, and then calculate the amount of a 15% tip and 7% sales tax. Display each of these

asked by Jane on January 5, 2012
16. ## PROGRAMMING

design a program for the following. Registration workers at a conference for authors of children's book have collected data about conference participants, including the number of book each author has written and the target age of their readers. The

asked by Andrew on April 8, 2014
17. ## Programming

Here is the source code for the Kitty class: public class Kitty { String name; int age; public Kitty(){ } public void setName(String n){ name = n; } public String getName(){ return name; } public void setAge(int a){ age = a; } public int getAge(){ return

asked by Rob on October 28, 2009
18. ## programming

how do I write a pseudocode to find and display the largest list of positive numbers entered by the user. The user should indicate that he/she has finished entering numbers by enter a

asked by Jackie on August 28, 2011
19. ## Programming

Write a pseudocode program that asks the user for an integer between 1 and 12. The program is to calculate the times table for that number. So for example, if the user enters a 2, then the program has to calculate 2x1 and display the answer, then 2x2 and

asked by Darlene on August 17, 2011
20. ## programming

Purpose: • Write AND OR & NOT logic in pseudo-code and Raptor. Requirements: In Notepad, write pseudo-code for the following. The object of the game is to determine who the player is, based on a series of questions. Inputs Ask the player the following

asked by sheger on February 14, 2020
21. ## programming

Write a program which allows user to enter 10 student names and scores for Java programming 1 and Java programming 2. Allow user to choose which course they want to enter the record for. Use the loop to ask input from user. The program should store data

asked by Java on March 2, 2014
22. ## programming

Create the logic for a program that continuously prompts the user for a number of dollars until the user enters 0. Pass each entered amount to a conversion method that displays a breakdown of the passed amount into the fewest bill; in other words, the

asked by Anonymous on December 12, 2013
23. ## Programming

Design a program that calculates the total amount of a meal purchased at a restaurant. The program should ask the user to enter the charge for the food, and the calculate the amount of a 15 percent tip and 7 percent sales tax. Display each of these amounts

asked by TJ on July 3, 2010
24. ## Programming

Submit pseudocode and a flowchart for the following programming exercise: Fat Gram Calculator Design a program that asks for the number of fat grams and calories in a food item. Validate the input as follows: - Make sure the number of fat grams and

asked by johnny on August 19, 2010
25. ## Programming

Write the pseudocode for a program to calculate the wages of a sales according to the following rules. The wage is calculated at a rate of 15% of sales. If the salesman has been with the company more than three years, he receives a loyalty bonus of 10% of

asked by Derrick on February 3, 2012
26. ## programming

Design a class named Book that holds a stock number, author, title, price, and number of pages for a book. Include a method that sets all the data files and another that prints the values for each data field. Create the class diagram and write the

asked by hazy on September 1, 2011
27. ## programming

The figure shows two unequal point charges, q and Q, of opposite sign. Charge Q has greater magnitude than charge q. In which of the regions X, Y, Z will there be a point at which the net electric field due to these two charges is zero?

asked by bano on January 26, 2014
28. ## programming

how do you design a program that asks the user to enter a store's sales for each day of the week. the amount should be stored in an array. use a loop to calculate the total sales for the week and display the result.

asked by holly on April 30, 2019
29. ## programming

1. Develop a menu-driven program that inputs two numbers and, at the user's option, finds their sum, difference, product, or quotient

asked by Jackie Holman on January 29, 2013
30. ## Programming

What is answer of the following code: x=7 x-7 x=4 x-4

asked by Coder on August 7, 2019
31. ## programming

Write a simple ATM program. Ask the user to enter their account number, and then print their beginning balance. (Just make one up). Then ask them if they want to make a deposit or a withdrawal. Depending on their selection, call a function to perform the

asked by Tammie on April 19, 2012
32. ## programming

Write a program that requests the numeric grades on a midterm and a final exam and then uses a Function procedure to assign a semester grade (A, B, C, D, OR F). The final exam should count twice as much as the midterm exam, the semester average should be

asked by Shirley on April 16, 2013
33. ## programming

Step 1: Design a flowchart or write pseudocode for a program that allows a user to enter 12 numbers, then displays all of the numbers (in the order they were entered) as well as the largest number and the smallest number. Step 2: Implement and test your

asked by G on November 25, 2014
34. ## programming

Write a program that asks for the length and width of two rectangles. The program should tell the user which rectangles has the greater area, or if the area are the same.

asked by Fran on February 23, 2011
35. ## programming

compute the income tax due on taxable income entered by the user, given the data as shown in the following table. Be sure to include error checking to make sure the user does not enter a negative number assume all entries are integer values Taxable Income

asked by austen on April 13, 2019
36. ## programming

Write the pseudocode for an application that accepts enter eight friends’ first names and displays them in alphabetical order

asked by alex on April 23, 2017
37. ## programming

Draw a flowchart or write the pseudocode for an application that allows a user to enter price and computes 8 percent sales tax on the item. Use // declartions

asked by jacob on September 5, 2012
38. ## programming

Professor Merlin has asked you to help him. He has 5 students who have taken four tests. He wants a program where he can enter the students name and their four test scores. After entering all 5 students then he wants a grade report printed showing the

asked by Ajit on July 24, 2014
39. ## programming

10. Develop a C++ program that accepts the name of a person and then counts how many vowels the person’s name have.

asked by 10. Develop a C++ program that accepts the name of on June 25, 2014
40. ## Programming

Draw a flowchart or write pseudo code to represent the logic of a program that allows the user to enter values for the current year and the user’s birth year. The program outputs the age of the user this year. Preferably a pseudocode

asked by Siya on December 3, 2019
41. ## Programming

Write a Pascal program where the user is able to pick two items, receive the price and receive total price. Using constants.

asked by Anonymous on March 27, 2019
42. ## Programming

Develop a Java application that will determine the gross pay for each of three employees. The company pays “straight line” for the first 40 hours worked by each employee and pays “time and a half” for all hours worked in excess of 40 hours. You are

asked by jm on November 9, 2016
43. ## Programming

Write a program that inputs (from the user) the number of hours worked and hourly rate for employees and outputs the total pay. The program should process an arbitrary number of employees; the user will terminate input by entering 0 hours worked and pay

asked by Brenda on January 10, 2012
44. ## programming

for a list of numbers entered by the user and terminated by 0, find the sum of the positive numbers and the negative numbers

asked by nancy on May 16, 2010
45. ## programming

Develop a class diagram for a Message class for a cell phone company. Include generalizations for child classes TextMessage, VideoMessage, and VoiceMessage. The Message class has attributes of account number and price. In addition it has the methods

asked by billy on April 16, 2017
46. ## programming

write a program that asks the user to enter an objects mass, and then calculates and displays its weight.

asked by Anonymous on July 20, 2011
47. ## programming

Write an algorithm to compute average score for each student in the Computer Science Continuous assessment test. Assume each student sat for ten courses for the semester

asked by Anonymous on March 10, 2014
48. ## Programming

Write a program that inputs (from the user) the number of hours worked and hourly rate for employees and outputs the total pay. The program should process an arbitrary number of employees; the user will terminate input by entering 0 hours worked and pay

asked by Andrew on November 1, 2015
49. ## programming

Design a class named Book that holds a stock number, author, title, price, and number of pages for a book. Include methods to set and get the values for each data ﬁeld. Also include a displayInfo() method that displays each of the Book’s data ﬁelds

asked by stephanie on March 30, 2013
50. ## programming

Write a program that displays the recommended weight, given the user’s age and height (cm). The formula for calculating the recommended weight is recommendedWeight = (height – 100 + age / 10) * 0.90 Define a service class named Height and include an

asked by happy on March 21, 2013
51. ## Programming

The raptor program displays the grade for each test score and the average of all four test scores. Use a loop to input four test scores. Validate the input. The test scores must be between 0 and 100.

asked by joe on November 17, 2019
52. ## Programming

Write an algorithm and draw a flowchart a. TO FIND PROFIT

asked by Anonymous on June 5, 2018
53. ## programming

1. Write a structured algorithm that prompts the user to input two numbers. The algorithm should calculate and print the sum & product of the two numbers [21/2]

asked by alethia benney on October 16, 2012
54. ## Programming

Design a program in pseudocode that calculates the amount of money a person would earn over a period of time if their salary is one penny the first day, and then doubles each day. The program should ask the user for the number of days. Display what the

asked by Anonymous on May 19, 2010
55. ## programming

I am supposed to make a pseudocode for a fat gram calculator and I want to know if my code is correct. This is the instructions: Design a program that asks for the number of fat grams and calories in a food item. Validate the input as follows: - Make sure

asked by Bryson on October 15, 2014
56. ## Programming

Write one C program to measure the average time to create a thread using pthread_create() and to create a process using fork(). 1. Use a for loop to create 300 threads using pthread_create(), and measure the total time to create these 300 threads. Then

asked by Mei on October 4, 2019
57. ## Programming

The question is: You have recently been employed by a company that specialises in application development. Your first project is to help them design an application using Python that will help shoppers determine which products to buy at the supermarket and

asked by aria on July 23, 2019
58. ## Programming

Write a VB.NET program to check if the sum of all the 10's in the array is exactly 30. Return false if the condition does not satisfy, otherwise true.

asked by Raj on December 29, 2019
59. ## Programming

Hi I am new to programming and I need your Help to solve this Problem. Thanks! draw your draft of the corresponding flowchart. On a new paper following your flowchart, write its equivalent using pseudocodes. Questions: 1. You are left in charge of taking

asked by Influbene on October 14, 2017
60. ## Programming

Write a VB.NET program code to find second largest element in an array.

asked by Raj on January 12, 2020
61. ## programming

You have the final sales figures for the four quarters in 2010 for Bennets Used Auto Sales, and you are to design a program that asks for the sales figures, computes the total sales for the year, and calculates and displays the average quarterly sales for

asked by Brett on June 1, 2013
62. ## Programming

[Help me to solve this question] Regarding the following problems, you are asked to make a pseudocode for calculating income tax with the following conditions: Input: Numeric in the form of numbers> = 0 If the input is something other than that then an

asked by ibnu chairul akbar on December 4, 2019
63. ## Programming

Why is the output of the code 14, not 8 : alpha=3+5=8? public class Application4{ public static void main(String[] args) { int alpha=3; int beta=5; switch (beta){ case 3:alpha=alpha+3; case 4:alpha=alpha+4; case 5:alpha=alpha+5; default:alpha=alpha+6; }

asked by Ashley on October 1, 2019
64. ## programming

How do i Create a program that determine the shipping cost for an order based on the following table: From To Price \$0.00 \$19.00 \$2.95 \$20.00 \$49.99 \$3.95 \$50.00 \$74.99 \$4.95 \$75.00 \$1000.00 \$Free I don't understand how to do this...Would anyone please

asked by Derek Smith on December 2, 2012
65. ## Programming

Hi, I'm new to Java. I've been working on this question, wrote the code and checked the results with some examples and it seems to be doing fine. I would be glad if any of the teachers can check the code for me. Also, please do let me know if there's a

asked by Ashley on October 3, 2019
66. ## Programming

Writing a visual basic program to read basic salary and sales made by employees, calcuting the commission and outputing the commission and net salary?

asked by Naom mwende on November 18, 2019
67. ## Programming

Can somebody give me clue where I can get programming help?

asked by Raj on January 12, 2020
68. ## Programming

I need to write a code in java based on an alrgorithm, the alrgorithm and it’s problem are below: The Sieve of Eratosthenes is “a simple, ancient algorithm for finding all prime numbers up to any given limit,” which you can read about at: (Wikipedia:

asked by Mr. Anonymous on March 10, 2019
69. ## Programming

I need help with debug Debug06-02 // Program lets user input scores on four tests // Average is computed and letter grade is determined // Letter grades are based on 90 for an A, 80 for a B, and so on start string name num score num NUM_TESTS = 4 num

asked by Stephen on June 16, 2013
70. ## Programming

public class FutureInvestmentValue { public static void main(String[] args) { Scanner input= new Scanner (System.in); System.out.print("Enter investment amount: "); double investmentAmount = input.nextDouble(); System.out.print("Enter annual interest rate:

asked by anonymous on January 30, 2020
71. ## Programming

write the output of the segment of the program below let J=0 print J let J=J+1 if j

asked by damilous on June 2, 2019
72. ## Programming

Input a list of positive numbers (terminated by 0) into an array, find the mean (average) of the numbers in the array, and output the result. Use a subprogram to input the numbers, a function to find the mean, and a subprogram to output the result.

asked by Darlene on September 21, 2011
73. ## Programming

The Romance World Cruise Line provides special gifts for passengers who are newlyweds, as well as for those who have been married more than 40 years. Design a pseudocode for a program that accepts a couple's last name, ship cabin number, and number of

asked by Dawlton on September 22, 2015
74. ## programming

Write the following algorithms using pseudocode: 1. Calculate the net pay for an hourly employee. You will be given the name, pay rate and hours worked. You must calculate the state withholding (5%), federal withholding (18%), and Social Security (8%). You

asked by tina on February 15, 2013
75. ## Programming

Can somebody give me clue where I can get programming help? 👍 0 👎 0 👁 18 asked by Raj today at 8:52am google search?? 👍 0 👎 0 posted by Ms Pi 3.14159265358979323 today at 9:50am What language are you programming in? 👍 0 👎 1 posted by

asked by Raj on January 12, 2020
76. ## programming

Create the logic for a program that continuously prompts a user for a numeric value until the user enters 0. The application passes the value in turn to a method that squares the number and to a method that cubes the number. The program displays the

asked by Anonymous on December 23, 2013
77. ## Programming

write a fortran program to store scores of five courses of three students

asked by Obioha on November 28, 2019
78. ## Programming

Question : Write a Java program to read integer data set(size of n

asked by Arya on October 14, 2019
79. ## Programming

Design an algorithm that accepts two values, the hourly rate and the number of hours worked by an employee. If the number of hours exceeds 40, then the excess hours should be paid at an overtime rate of twice the hourly rate. Calculate wages (including

asked by Ramesh on October 1, 2019
80. ## Programming

1. Create a pseudocode algorithm that will accept the name of the motorists and the type of offence for the ticket. Determine if the tickets will be awarded a demerit point and check the current point(s) each motorist has on his or her licence. Display the

asked by azikeecampbell on March 29, 2019
81. ## programming

Design a program that calculates and displays the amount of money you would have if you invest \$5000.00 at 2 percent simple interest for one year. call a function and pass the needed data to do the calculation and return the result

asked by Elsa on April 14, 2015
82. ## Programming

Thanks for the help on my last problem! I have one more thing I need help with... Create the logic for a program that calculates and displays the amount of money you would have if you invested \$3000 at 2.65 percent interest for one year. Create a separate

asked by Lauren on August 15, 2014
83. ## programming

write the pseudocode for a program to the wages of salesman according yo the following rules the wages is calculated at a rate 15%of sale if the salesman has been with the company more than three year he has loyalty bonus of 10%of his calculated wages.

asked by BAKARI MOHAMEDI on May 24, 2012
84. ## programming

write a program in C# that calculates and prints the take home pay for a commissioned sales employee. allow the user to enter values for the name of the employee and the sales amount for the week. employee receives 7% of the total sales. federal tax rate

asked by Anonymous on September 23, 2011
85. ## Programming

Let L = {a, b}. For the language below, give an example of a string in the language, and a string not in the language. {w is in L*: uvw = wvu, for some {u, v} in L*} - To simplify, I would say that any string is in the language if u = w and v can be

asked by Kid on January 29, 2020
86. ## programming

1. Write an if-­statement that increases the variable num1 by one and reduces the variable num2 by 1, if the variables are not equal. MY ANSWER: int num1 = 11; int num2 = 10; int counter = 1; If (num1 != num2) { Num2+ counter } If (num2 != num1) { Num1 -

asked by mozart on June 13, 2019
87. ## programming

Write a program that will ask the user to enter the amount of a purchase. The program should then compute the state and county sales tax. Assume the state sales tax is 4 percent and the county sales tax is 2 percent. The program should display the amount

asked by ignatius on April 28, 2016
88. ## Programming

write the output of the segment of the program below 1 let S=0 2 For C = 1 to 5 3 let S = S+C 4 next C 5 Print S

asked by damilous on June 2, 2019
89. ## programming

Input a list of positive numbers (terminated by 0) into an array, find the mean (average) of the numbers in the array, and output the results. Use a subprogram to input the numbers, a function to find the mean, and a subprogram to output the result.

asked by Anonymous on March 31, 2013
90. ## programming

Design an algorithm that accepts two values, the hourly rate and the number of hours worked by an employee. If the number of hours exceeds 40, then the excess hours should be paid at an overtime rate of twice the hourly rate. Calculate wages (including

asked by Anonymous on February 12, 2013
91. ## Programming

Design a program in pseudocode that calculates the amount of money a person would earn over a period of time if their salary is one penny the first day, and then doubles each day. The program should ask the user for the number of days. Display what the

asked by Ant on May 22, 2010
92. ## Programming

Draw flow chart and write algorithm description that accepts three marks of the student then print the mark which greater than the average marks of the student?

asked by Mezgebu on December 17, 2019
93. ## Programming

Design and plan the logic for a program that prompts the user for and allows the user to enter TWO numbers. The program outputs the sum of the two values. Provide declarations.

asked by Evan on April 28, 2016
94. ## programming

An Internet service provider has three different subscription packages for its customers: Package A: For \$9.95 per month 10 hours of access are provided. Additional hours are \$2.00 per hour. Package B: For \$13.95 per month 20 hours of access are provided.

asked by ignatius on April 28, 2016
95. ## Programming

Thanks for the help on my last problem! I have one more thing I need help with... Create the logic for a program that calculates and displays the amount of money you would have if you invested \$3000 at 2.65 percent interest for one year. Create a separate

asked by Lauren on August 14, 2014
96. ## programming

A retail company assigns a \$5000 store bonus if monthly sales are more than \$100,000 otherwise a \$500 store bonus is awarded. Additionally, they are doing away with the previous day off program and now using a percent of sales increase to determine if

asked by Jeniffer on May 22, 2012
97. ## programming

A small startup software developer company needs to create a program that will calculate the pay of its employees. For the first version of the program, the company wants the program to accept an employee’s name, the number of hours the employee worked,

asked by Wayne on March 6, 2010
98. ## programming

Grades are assigned on the standard 90, 80, 70, 60 scale. You are to write an algorithm which will receive a student name and a percentage grade and display the letter grade to be awarded

asked by Anonymous on September 26, 2013
99. ## programming

Create an application in C# that will accept sales information and calculate the total bill. There are 3 products which can be sold: Product 1 with price of \$2.98 Product 2 with price of \$4.50 Product 3 with price of \$9.75 The application should prompt the

asked by Todd on September 30, 2012
100. ## programming

java, write a program that prints out the letter X composed of asterisks (*) reply soon

asked by patrick on February 4, 2010

1. 1
2. 2
3. 3
4. 4