Build a program to input student grade by Text1 and print (A or B or C) by the following conditions: 1- (100 - 80) Print A. 2- (79- 50) Print B. 3- (0- 49) Print C. *
Q: a program that stores and prints the months of a year:
A: a program that stores and prints the months of a year:
Q: Write a program that calculates the change due a customer by denomination; that is, how many…
A: Answer is given below .
Q: Write a program to grade students based on scores out of 100 and also print a teacher comment. If…
A: I give the code in Python along with output and code screenshot
Q: 10) Write a program that translates a letter grade into a number grade. Letter grades are A, B, C,…
A: note:- always mention programming language name in question, this is done in python. logic:-…
Q: Write a program to calculate the grade point average (GPA) of a student by getting their grades for…
A: Step 1:- Program Approach:- 1.Include the header file 2.Declare variables 3.Take the input for the…
Q: Write a program in python that asks the user to enter a word and then capitalizes every other letter…
A: Capitalize every other letter in string using python code
Q: Write a program that takes your full name as input and displays the abbreviations of the first and…
A: NOTE: SINCE THE LANGUAGE OF THE PROGRAM IS NOT GIVEN, I HAVE USED PYTHON FOR THE SOLUTION Define…
Q: Write a program that displays the differences between the first and last, the second and next to…
A: Program description: n is the user input integer variable that stores the number of elements in the…
Q: Write a program that prompts the user to enter an uppercase letter and converts it to a lowercase…
A: Program plan: Take input in uppercase add 32 to in ( ascii code) print character
Q: Write a program that displays all the leap years, ten per line,from 2014 to 2114, separated by…
A: Since the Programming language is not mentioned in the question, we will answer this question in…
Q: Create a program that will distinguish the age of the student. If the student is 13 to 19 years old,…
A: Step-1: Start Step-2: Declare a variable age and take input from user Step-3: If age is greater than…
Q: From 7/ Write two different programs to read a three-sided triangle and print "isosceles" when all…
A: CODE: #include <iostream> using namespace std; void get(int &a, int &b, int &c){…
Q: Write a program that prompts the user to enter the number of students and each student’s name and…
A: Since the coding language is not given, I have done the code in Python. Algorithm : Step 1 : ask for…
Q: Write a program that prompts the user to enter the year and the first three letters of a month name…
A: CODE TO COPY:- month_lst = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug',…
Q: Write a program asking for the Exam Score. The program then will display a remark if FAILED or…
A: Given: To write a program In C++ asking for exam score and then display a remark FAILED OR PASSED.…
Q: 7. Write a program that asks the user's name, and then greets the user by name. Before outputting…
A: The problem is based on writing the code to input users' name and to greet the user after converting…
Q: write a program to print the name of day when entering the number of the day. (For example, when the…
A: read a value convert it into int using Integer.Parse() if x=1 then display “sunday” else if x=2 then…
Q: Write a program with total change amount as an integer input, and output the change using the fewest…
A: See below steps for complete code and output:
Q: Write a program that reads from the user the initial KiloMeters of the car, the current KiloMeters,…
A: Note: as programming language is not mentioned c++ is used. The program with output is given below
Q: Write a number activity and then circle the circle or square. The input will be in the form (letter…
A: Algorithm - Create a new function with name perimeter with two arguemnt. Now use the below logic…
Q: Please help me solve this problem
A: Note: The Python program is coded as the user requirements.In Python, code indentation is very…
Q: A certain CS professor gives 100-point exams that are graded on the scale 90-100:A, 80–89:B,…
A: I give the code in Python along with output and code screenshot and explanation
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 to show the conversion of Celsius-to-Fahrenheit for the celsius starting with 10 and…
A: As no programming language is mentioned, it is solved using C++
Q: Write a program that prompts the user to enter a letter grade A/a, B/b, C/c, D/d, or F/f and…
A: PYTHON Program:- grade=input('Enter a letter grade:') # Take input grade # Check all grades with…
Q: Write a program using the language C #. The user enters three grades for a student, and then prints…
A: While doing programming in any programming language, you need to use various variables to store…
Q: Write a program that display the letter grade (A if number bigger than 90, B if number bigger than…
A: Here, I am going to write a python program to print the grade when a user enters the number.
Q: write a program that prompts the user to enter 10 names. each with a minimum of 30 characters.…
A: Program: //include the essential header files #include<iostream> using namespace std;…
Q: Write a program that reads the marks of a student in the test (te), midterm (mid), assignment…
A: Code: #include<stdio.h> int main(){ int tm,mid,assig,fe,pm; printf("Enter…
Q: second. 2. Write a program that converts feet to meters. The program should display feet from 3 to…
A: PROGRAM CODE: #include <stdio.h> int main(void){ int start = 3, end = 30;…
Q: Write a program to read basic salary (bsalary) and sales (sales) then calculate and print the net…
A: C++ program for above : #include <bits/stdc++.h> using namespace std; int main() {…
Q: Write a program that reads the marks of a student in the test (te), midterm (mid), assignment…
A: I am uploading the handwritten solution in the next step. As there is no programming language…
Q: Write a program that prompts the user to enter 10 names, each with maximum of 30 characters. output…
A: Program: #include<iostream>using namespace std; int main(){string input[10];for(int i = 0; i…
Q: Write a program that prompts the user to enter the numberof students and each student’s name and…
A: Program: import java.util.*; public class Main { static void LowestScores(String name[], float…
Q: 4. Write a simple program that checks the coordinates of a point taken from a user and identifies…
A: Code: //include the required headers #include<iostream> using namespace std; //main method…
Q: Write a program that reads the subtotal and the gratuity rate and computes the gratuity and total.…
A: GIVEN: Write a program that reads the subtotal and the gratuity rate and computes the gratuity and…
Q: Write a program that prompts the user to enter the number of items and each item’s name and price,…
A: Note: As programming language is not mentioned. So used Python to complete the task. Program: #…
Q: 4. Write a simple program that checks the coordinates of a point taken from a user and identifies…
A: code: //include the required headers #include<iostream> using namespace std; //main method…
Q: Write a program that prompts the user to enter the name, the number of children, and the basic…
A: Since programming language not mentioned using Python CODE: # cook your dish herename=input("Enter…
Q: Write a program to enter a value of x and compute the value of y where Visual Basic if x ≥ 0 if x <…
A: The above program requires a if else block statement. The if else block syntax is: If condition:…
Q: Write a program that prompts the user to enter the number of items and each item’s name and price,…
A: Step 1:- Program Approach:- 1.Include the header files 2.Declare variables, an array of data type…
Q: Create a program that will distinguish the age of the student. If the student is 13 to 19 years old,…
A: INTRODUCTION: Here we need to tell create a program that will distinguish the age of the student.
Q: Write a program that ask the user to enter his/her letter grade and then respond with an appropriate…
A: grade = input("Enter your grade : ") #taking user inputif(grade == 'a' or grade == 'A'):…
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 that calculates the attendance percentage for students, there are total 120 working…
A: Note: In this question the coding language is not specified then we are doing this question in the…
Q: Write a program that prompts the user to enter the number of students and each student’s score, and…
A: Given:- Write a program that prompts the user to enter the number of students and each student’s…
Q: Write a program that requests the floating number of hours a person works in a given week and the…
A: wagePerHour=float(input("Enter hourly wage: ")); #input wage per…
Step by step
Solved in 2 steps
- 1. Write a program that lets the user guess whether a randomly generated integer would be even or odd. The program randomly generates an integer and divides it by 2. The integer is even if the remainder is 0, otherwise odd. The program prompts the user to enter a guess and reports whether the guess is correct or incorrect.Problem: A small company needs an interactive program to compute an employee’s paycheck. The payroll clerk will initially input the data, and given the input data, an employee's wage for the week should be displayed on the screen for the payroll check. The data for the employee includes the employee's hourly pay rate and the number of hours worked that week. Wage is equal to the employee's pay rate times the number of hours worked (up to 40 hours). If the employee worked more than 40 hours, wage is equal to the employee's pay rate times 40 hours plus 1½ times the employee's pay rate times the number of hours worked above 40. Instructions: Match the action at the left-side with the correct step number at the right-side (the attached picture). Note that it may be possible to group more than one related actions in the same logical step / process without altering the essence of the algorithm. In the program flow, input and checking of hourly pay rate should come before that of the number…QUICK-BASIC64 In a 50-person class, students with grades below 70 are considered unsuccessful. Write an algorithm that calculates students who fail the exam. (Please explain everything the program in details and please check whether the program runs or not by using q- basic64. Thank you so much)
- This code must be in Python: START OF PLAY The player starts with 100 points. They have ten attempts (or rounds) to reach 500 points to win. Each round, the player "bets" some amount of points. See gameplay as follows: A HIGH/LOW ROUND (1) The player is shown an initial random card.Cards have a value from 2-14; however, these values are converted to a string as follows: 2-9 are converted to their string equivalent "2", "3", ... "9"10 is "T", 11 is "J", 12 is "Q", 13 is "K" and 14 is "A" (2) After the play sees the first card, they should guess if the next card will be higher (i.e., greater than the current card) or lower (i.e., a lower value than the first card).They will do this by inputting "H" or "L" (lowercase "h" and "l" will also be accepted as valid input). (3) After they input their "high" or "low" guess, the player bets a number of points that their guess will be right. The bet must be between 1 and the total amount of points the player has.1 (4) After the bet amount is…Microwaves / Radio Waves If a scientist knows the wavelength of an electromagnetic wave she can determine what type of radiation it is. Write a program that asks for the wavelength in meters of an electromagnetic wave and then displays what that wave is according to the following chart. (For example, a wave with a wavelength of 1E-10 meters would be an X-ray.) 1x 10-11 1 x 10-8 4 x 10-7 7x 10-7 1x 10-3 1 x 10-2 Gamma Rays. X Rays Ultraviolet Visible Light InfraredHW7: Write a program in C language for the students Grading System: If the mark is less than 50 print "Fail" If the mark is between 50 and 59 print "Pass" If the mark is between 60 and 69 print "Medium" If the mark is between 70 and 79 print "Good" If the mark is between 80 and 89 print "Very Good" If the mark is between 90 and 100 print "Excellent" If the mark been entered over 100 you will get the following message "Can you kindly enter the mark between 0 to 100"
- 4. Area of a Rectangle • Write a program that compares the area of two rectangles. You can do this several ways. one way is to add the length and width of each rectangle to get it's area and then compare the two areas together. • The program should ask for the length and width of two rectangles and then tell the user which rectangle has the greater area, or if the areas are the same. • The area of a rectangle is the rectangle's length times its width. Name the source code file yourName HW4.py. • Test and run the program. Capture the output console and save it as an image file named yourName HW4 output.jpg. • Submit the py and the image files through Canvas. Note: Sample output below: Fast l: Code-Tracing Output in comenta Vart 21 Days of the Week(Simulation) Write a program to simulate the roll of two dice. If the total of the two dice is 7 or 11, you win; otherwise, you lose. Embellish this program as much as you like, with betting, different odds, different combinations for win or lose, stopping play when you have no money left or reach the house limit, displaying the dice, and so forth. (Hint: Calculate the dots showing on each die with the expression dots=(int)(6.0randomnumber+1), where the random number is between 0 and 1.)French Articles: French country names are feminine when they end with the letter e, masculine otherwise, except for the following which are masculine even though they end with e: le Belize le Cambodge le Mexique le Mozambique le Zaïre le Zimbabwe Write a program that reads the French name of a country and adds the article: le for masculine or la for feminine, such as le Canada or la Belgique. However, if the country name starts with a vowel, use l’; for example, l’Afghanistan. For the following plural country names, use les: les Etats-Unis les Pays-Bas
- Lab Write a complete program that: 1. Prompts the user to enter an integer and reads in an integer number from the keyboard. 2. Prompts the user to enter a second integer and reads in a second integer number from the keyboard. Adds the integer from (1) to the integer from (2) 3. 4. Subtracts the integer from (2) from the integer from (1) 5. Multiplies the integer from (1) to the integer from (2). 6. Divides the integer from (1) by the integer from (2) 7. Modulus the integer from (1) by the integer from (2) 8. Prompts the user to enter a double and reads in a double number from the keyboard. 9. Prompts the user to enter a second double and reads in a second double number from the keyboard. 10. Divides the double from (8) by the double from (9) 11. Writes the answers from (3)-(7) and (10) out to the display The user should be prompted to enter the input values and the result of the arithmetic should be output. Example Output An example of an interaction with your program is shown below,…5- Write a program which read a number consists of 4 digits and find the maximum digit of the number. FOR eg. 1472 the maximum digit is 7 the maximum digit is 9 9835Q1: Write a program that reads 10 numbers and then finds the largest number and prints it and finds the smallest number and ey