1. Program to generate and print sales bill (Quantity Rate) 2. Program to Profit/Loss on sales (P/L= selling Price - Purchase price) 3. Program to manage inventory (Balance = Available + purchase - Purchase return - sales + sales return) 4. Program to calculate price after discount. 5. Program to calculate the salesman commission
Q: Write a Python Program that reads 4 numbers from the keyboard and finds the mean and standard…
A: Solution: Given: A program that reads 4 numbers from the keyboard and finds the mean and standard…
Q: Output each floating-point value with two digits after the decimal point, which can be achieved as…
A: code : - name1 = input('Enter food item name: \n')price1 = float(input('Enter item price: \n'))q1 =…
Q: 12- ________ name should be preceded by a dollar $ sign. a. Variable b. None c. Program d. Function
A: Variable: In the PHP language, all the variable names should be preceded by the dollar $ sign and…
Q: Example-3: Write a program to calculate the Area and volume for a sphere. Sol. -The area of sphere…
A: Volume of a Sphere = 4/3*π*r³Area of a Sphere = 4*π*r²
Q: Write a program c++ program to continuously ask the user to enter integers and then prints them .…
A: Algorithm 1) set input as integer type and count as 0. 2) when even user gives input continue the…
Q: Exercise 5: Write a single program to perform the following M=((W+X) – Y) * Z
A: #include <iostream>using namespace std; int main(){cout<<"......Reading the…
Q: Computer Science Write a program to turn ON LEDs like 11,13,14,12 placed on trainer
A: Assembly Language Program ORG 0000HMOV A,#02HMOV P3,AACALL DELAYMOV A,#06HMOV P3,AACALL DELAYMOV…
Q: 47. To write a program function i.e. program for sum of four integers, program refinement first…
A: The question is to write the program function which includes the given criteria. As no language is…
Q: You are required to create a conversion program. First ask the user his choice and then convert.…
A: Given: You are required to create a conversion program. First ask the user his choice and then…
Q: + to program a number guessing game.
A: the c++ program is an given below :
Q: A palindrome is a word or a phrase that is the same when read both forward and backward. Examples…
A: Given: To write python code.
Q: Read and understand the following problem: 1. Write a program that accepts from the user an…
A: Suppose the user entered 100 Peso. Given: 1 HK dollar = Php 6.51 ⇒ 1 Php = 1/6.51 HK dollar…
Q: Example-3: Write a program to calculate the Area and volume for a sphere. Sol. -The area of sphere =…
A: Given: The program is written in C language to find area and volume of sphere.
Q: Write a program to take value of x and y from user, convert and save them in respective data type…
A: #include<iostream> using namespace std; int main(){ double x,y,z; cout << "Enter…
Q: 1- Write a program to enter average and find the grade rating() (Excellence, Very good, Good,…
A: NOTE NO PROGRAMMING LANUAGE IS MENTIONED SO I WAS USED C++ LANGUAGE 1) #include…
Q: Program Specifications Write a program to calculate the cost to paint a wall. Amount of required…
A: Step-1: Start Step-2: Declare variables wallHeight, wallWidth and cost and take input from user for…
Q: 1.) Create a c++ program to find the roots of a quadratic equation by taking a, b and c as an input…
A: As per our guidelines we are supposed to answer only one question kindly repost other question as a…
Q: Program Specifications Write a program to calculate the cost to paint a wall. Amount of required…
A: Code(Python)- import math width, height, cost = map(float, input().split()) #map function to take…
Q: Develop a program that will accept three integers from the user and displays the smallest and…
A: #include<iostream> using namespace std; int main(){ int a,b,c,least,greatest; cout…
Q: Example-3: Write a program to calculate the Area and volume for a sphere. Sol. -The area of sphere 4…
A: Given: The program is written in C language to find area and volume of sphere.
Q: Write a program that will accept user's info: fullname,age,course abd section. Display all the…
A: 1. Flow chart Source Code import java.util.Scanner; class ReadInfo { public static void…
Q: Part E Question 1 Part E Question 2 Part E Question 3 Part E Question 4 Part E Question 5 Part E…
A: Since no programming language is mentioned, I am using c++ Algorithm: Start Initialize total to 0…
Q: Samantha and Vikas are looking to buy a house in a new development. After looking at various models,…
A: Programming language is missing in the question. So we will answer this program in C++ language. If…
Q: Using any programming language, write a program that will solve the given problem below: Write a…
A: The answer is coded in Python Language.
Q: A bank customer invested $24 in a bank with 5 percent simple interest per year, write a program the…
A: #include<iostream>#include<iomanip> using namespace std;int main(){double…
Q: Here's the C++ Programming Exercise: The population of town A is less than the population of town B.…
A: The population of town A is less than the population of town B. The population growth rate of town…
Q: Program 4: You found an exciting summer job for five weeks. It pays, say, $15.50 per hour. Suppose…
A: Step 1:- Note:-I am writing the program in c++ because there is no programming language is mention…
Q: Write a program that asks for the borrower's lastname, borrower's first name, borrower's middle…
A: According to the question there is no specific programming language mentioned. We have solved the…
Q: Im kind of lost. Could someone help me please? Draw the hierarchy chart and then plan the logic for…
A: double height,weight; //module 1 cout<<"Enter height in inches: "; cin>>height;…
Q: 2. Complete the program and identify and correct the errors in each of the following. a) if ( sales…
A: * Question a. #include<stdio.h>int main(){ int sales; printf("Enter Sales:");…
Q: Program 4: You found an exciting summer job for five weeks. It pays, say, $15.50 per hour. Suppose…
A: Step 1:- Note:-I am writing the program in c++ because there is no programming language is mention…
Q: Write a program accepts numerical value x from 0 to 100 as input and computes and displays the…
A: if(x>=90){ cout<<"A"<<endl;}else if(x >=80 && x<=89){…
Q: Suppose your instructor gives three exams during the semester and you want to write a program that…
A: Program: using System; using System.Collections.Generic; using System.ComponentModel; using…
Q: Example Input Enter how much money Ali have before the trade: 3502 Output Format: Your program…
A: Based on C++
Q: You decide to buy some stocks for a certain price and then sell them at another price. Write a…
A: Write a program that determines whether or not the transaction was profitable. If your transaction…
Q: Create a program using java or python to analyze and determine air quality of a city based on user's…
A:
Q: Write a program that helps a company manage salaries of its employees. Your program should ask for…
A: Programs: Programs are used to interact with the computer system. It is used to solve complex…
Q: Example-3: Write a program to calculate the Area and volume for a sphere. Sol. -The area of sphere 4…
A: Given: The program is written in C language to find area and volume of sphere.
Q: reate a four-function calculator for fractions by using following formulas. a) Addition: a/b + c/d =…
A: Aim: To create a four- function calculator for fraction. Based on the given formula, basic…
Q: Create a program flowchart that will solve who wins an election process. (a) Tom Vs. James (b) Tom…
A: 1. If it's not time up, count take input votes2. Check vote c, if c=1, increment vote-count of James…
Q: Suppose you are a surveyor. Your job requires you to study some maps that give distances in…
A: Below is the required C++ program: - Explanation: - Importing the essential headers and namespace.…
Q: The statement # include is written at the top of a program to indicate A. beginning of the program…
A: #include <math.h> is a header file
Q: Warm-up: Integer Operations Write a program that asks the user to enter two integers and prints the…
A:
Q: To make a profit, a local store marks up the prices of its items by a certain percentage. Write a…
A: We will break this problem in the following steps, so the algorithm will look like this: 1. Start 2.…
Q: A can do a piece of work in 8 days. B can do the same work in 24 days. Write a program to calculate…
A: Programming language is missing in the question. So we will answer this program in C++. If you want…
Q: Example-3: Write a program to calculate the Area and volume for a sphere. Sol. -The area of sphere =…
A: A sphere is a three dimensional object that is rounded in shape. The sphere is defined in three axes…
Q: 2. Write a program that computes the cost of painting and installing carpet in a room. Assume that…
A: Actually, program is a executable software that runs on a computer.
Q: man initially weighs 120 kg. He wants to reduce his weight at a rate of 5% per month. Derive the…
A: Note: Since no programming language is mentioned. I am attempting this in python. if you need it in…
Q: TASK NO. 1: Write a program to assign float value, integer value and your name to the variables…
A: Hey, since there are multiple questions posted, we will answer first question. If you want any…
Step by step
Solved in 2 steps
- Flow chart and peseudocode of Get the name of the student A. If the student is regular, get his/her section. Then display his/her name and section B. If the student is irregular, get his/her course. Then display his/her name and course.Function for button "Publishing Date": • Name this function by your last name (for example, function yamoutl)). When the user clicks on the button "Publishing Date" (after filling all the textboxes), the current date and time will be printed after the text "Published on:" CSCI375 Grades Exam-1 (70 Exam-2 98 Project 86 Exam-3 80 Show the Grades Your Grades: Exam-1 - 78, Exam-2 - 98, Project - 85, Exam-3 - 80 Publishing Date Published on: 5/10/2021, 5:39:08 PM Change Background ColorTask 3: High cholesteral and high triglycerides have been assicuated with cardiovascular disease. During yearly medical visits a doctor might recommend certain actions if certain test results are received (see Table 1). Write a program that allows the user to enter the numeric cholesteral and triglyceride results and the gives the doctor a recommendation. Please show step-by-step on LabVIEW. Table 1 Recomendation Triglyceride (mg/fL) Total cholesteralSuggest a full workup >886 >240 mg/dLSuggest change in diet 500 to 886 200 to 239Suggest change in activity 150 to 499 N/AAll good <150 <200 Task 4: Create a new version of your file for Task 4. Add two boolean indicators (Round LED). Oneshould light up when both Triglyceride AND Cholesteral levels are in the “All good” range. Theother should light up when either Triglyceride OR Cholesteral levels are in the “Suggest a fullworkup” range. Please show step-by-step on LabVIEW.
- The 24-point card game involves picking any four cards from 52 cards, as shown in Figure 10.20. Note that the jokers are excluded. Each card represents a number. An ace, king, queen, and jack represent 1, 13, 12, and 11, respectively. Enter an expression that uses the four numbers from the four selected cards. Each card number can be used only once in each expression, and each card must be used. You can use the operators ( *, and /) and parentheses in the expression. The expression must evaluate to 24. After entering the expression, click the Verify button to check whether the numbers in the expression are currently selected and whether the result of the expression is correct. Display the verification in a dialog box. You can click the Refresh button to get another set of four cards. Assume thatimages are stored in files named 1.gif, 2.gif, ..., 52.gif, in the order of spades, hearts, diamonds, and clubs. So, the first 13 images are for spades 1, 2, 3, ..., and 13.menu(): Takes no inputs and does not return a value. It prints the two options available to the user and asks them to enter a number corresponding to their desired option. It then asks the user for the required inputs and then calls the appropriate function and prints the return value with an appropriate message (see below). If the user enters a number corresponding to an invalid option, Invalid choice. should be printed and the program should end. When the program ends, Have a nice day! should be printed to the user. If the user asks the program to solve an equation, then the program should ask the user to type in the equation (without spaces). If a solution is found, then print Solution found: followed by the solution as a list. If no solution was found, print No solution found. If the user asks the program to create an equation, then the program should ask the user to enter the number of tries, length of the equation and percentage for a number to have additional digits. If an…LAB ASSIGNMENTS IMPORTANT: you should complete the PDP thinking process for each program. Turn in items: 1) fullname_regex.py - Ask the user to enter the source text to search, such as the name_source variable here: name_source = input('Enter full name in this format - first middle last'). Then, you can adapt the first two code lines from lesson slide 13, to search this new source. Edit the code to match the new situation and change the regex pattern to identify text that could be a full name. Hints: Initially write your regex pattern to check if the user enters three words separated by a space. Then, strive to make the regex adaptable if the person's full name has more than or less than 3 words. Then, think about allowing (not requiring) common characters like a period, hyphen or '. Slides 11-13 should be helpful. 08 For printing, end with a conditional block that provides an appropriate message if there is a match or not. Match Enter your full name: first middle last Betty Lou Who…
- LAB ASSIGNMENTS IMPORTANT: you should complete the PDP thinking process for each program. Turn in items: 1) fullname_regex.py - Ask the user to enter the source text to search, such as the name_source variable here: name_source=input('Enter full name in this format - first middle last'). Then, you can adapt the first two code lines from lesson slide 13, to search this new source. Edit the code to match the new situation and change the regex pattern to identify text that could be a full name. Hints: Initially write your regex pattern to check if the user enters three words separated by a space. Then, strive to make the regex adaptable if the person's full name has more than or less than 3 words. Then, think about allowing!!! (not requiring) common characters like a period, hyphen or '. Slides 11-13 should be helpful. For printing, end with a conditional block that provides an appropriate message if there is a match or not. Match No Match Challenge 1 Enter your full name: first middle…Remaining Time: 54 minutes, 49 seconds. * Question Completion Status: QUESTION 19 Write a Java program that prompts the user to enter the School Grade Level of a student and then calculate their discount amount in the regular fees structure offered during this pandemic situation. By using the below table, calculate their discount amount from the amount of the regular fee and then print the discount amount in OMR by using the appropriate selection structure. (Assume the user is entering a maximum Grade level is 12) discount amount = Regular Fees * percentage of discount rate School Grade Level Regular Fees in OMR Discount Rate >9 and 6 and 3 and 0 and <=3 30.500 5% otherwise 20.400 No discount T T T Arial 3 (12pt) v T -E E- 只i ン Click Save and Submit to save and submit. Click Save All Answers to save all answers. Save All Answers TOSHIBA F5 F6 F7 F8 F9 F10 F11 F12 INS SCNULL LOCK AD & 67 7 V 8A9 4 0Category ART_AND_DESIGN Rating Reviews App Photo Editor & Candy Camera & Grid & ScrapBook Coloring book moana U Launcher Lite – FREE Live Cool Themes, Hide Apps ART_AND_DESIGN Sketch - Draw & Paint FIND SEARCH 4.1 159 The FIND function returns the position (as a number) of one text string inside another. When the text is not found, FIND ART_AND_DESIGN 3.9 967 4.7 87510 returns a #VALUE error. ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN 4.5 215644 Pixel Draw - Number Art Coloring Book Paper flowers instructions 4.3 967 The SEARCH function returns the location of one text string inside another. SEARCH returns the position of the first 4.4 167 character of find_text inside within_text. Unlike FIND, SEARCH allows wildcards, and is not case-sensitive. Smoke Effect…
- Design a pseduocode function named getFirstName that asks the user to enter his or her first name and returns it. Please declare all constants and variables clearly and provide comments.Function for button "Show the Grades": • Name this function by your first name (for example, function fadil). • The user should fill all the textboxes: "Exam-1", "Exam-2", "Project" and "Exam-3" and then press the button. In case one of the textboxes is empty, a message will appear in alert box with the text "You should fill all the textboxes", This page says CSCI375 Grades You should fill all the textboxes Exam-1 78 Exam-2 Project 67 Exam-3 66 Show the Grades Your Grades: Publishing Date Published on: Change Background Color • The user should enter all the grades of the activities greater than or equal to 60, otherwise a message will appear in alert box with the text "You failed one of the activities", This page says CSCI375 Grades You failed one of the activities Exam-1 59 Exam-2 88 Project 76 Exam-3 90 Show the Grades Your Grades: Publishing Date Published on: Change Background Color After filling all the textboxes, entering the correct grades and pressing the button "Show the…Q1: - Design a form and write a code to find the average value of N degrees using For Next Loop. Use InputBox function to read degrees.