Programming

All new and solved questions in Programming category

10 answers
Write a program to calculate the amount of a server's tip given the amount of the bill and the percentage tip ovtained via input dialog boxes
write a program to calculate the amount of a server's tip given the amount of the bill and the percentage tip ovtained via input dialog boxes. The output should be a complete sentence that reiterates the inputs and gives the resulting tip. here is my attempt:Public Class frmTip Private Sub btnEn...
1 answer
2-5 Grade Determination is says " Write a program that will input three test scores
2-5 Grade Determination is says " Write a program that will input three test scores. the program should determine and display their average. the program should then display the appropriate letter grade based on there average. the letter grade should be determined using a 10 point scale (a=90-100...
4 answers
C++ Single Dimensional Arrays
Exercise #1: Design and implement a program (name it AssignGrades) that stores and processes numeric scores for a class. The program prompts the users to enter the class size (number of students) to create a single-dimensional array of that size to store the scores. The program prompts the user to e...
1 answer
Programming Question
Exercise #2:Create a data file named water.dat with the following data: 123 134 122 128 111 110 98 99 78 98 100 120 122 110 111 123 134 122 128 111 110 98 99 78 98 100 120 122 110 111. Each number represents the number of millions of gallons of water provided to a major city over the perio...
1 answer
Write a program in C# that calculates and prints the take home pay for a commissioned sales employee
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 is 18%. retirement contribution is 10%. socia...
1 answer
How to write the code correctly in python
so far, I just have figured this and I'm not too sure how to to do the next steps;import cmatha=5b=2a=float(input('Enter the real part of the complex number: '))b=float(input('Enter the imaginary part of the complex number: '))c= complex(a,b);print(c)...