1. Create a program which stores some information about your school information: Your full name, year level, course, email and student number. The program must also display the information. Example output:
Q: Exercise #4: Write a program that finds the area of a triangle given the base and the height of a…
A: Below I have provided the answer based on C++ Programming. Refer to the comments for a better…
Q: Many documents use a specific format for a person's name. Write a program in python whose input is:…
A: Program full_name=input().split()length=len(full_name)if length==2:…
Q: Develop a program that displays the following pieces of information, each on a separate line: Your…
A: cout statement is used to output the statement and \n is used to print new line. program…
Q: Write a program that displays the following information:• Your name• Your address, with city, state,…
A: Write a program that displays the following information:• Your name• Your address, with city, state,…
Q: Create detailed pseudocode for a program that determines how many full 12-egg cartons of eggs a…
A: Given: Create detailed pseudocode for a program that determines how many full 12-egg cartons of eggs…
Q: 3.The following program contains several errors: #include int main { cout> " appears on your…
A: 1)There is no library named as stream It must be iostream 2)You must write line that using…
Q: Write a program which should display 4 items (keyboard, mouse, monitor and speaker) with their…
A: Note: Since no programming language is mentioned. I am attempting this in python. if you need it…
Q: Many documents use a specific format for a person's name. Write a program whose input is: firstName…
A: Program description : Java program that prompts user to enter the name string from the console. Then…
Q: 1. Suppose you have a group of people who need to be transported on buses and You can charter a bus…
A: start print "TRANSPORTATION CENTER\n"; cout<<"---------------------------------------\n";…
Q: ython solution please Task 1 Description let's consider a case when you need a lot of coffee.…
A: Print a statement asking for number of cups. Define variable num and store the number of cups of…
Q: A supermarket clerk has run out of changes except for 25 centavo coins. Create a program which asks…
A: Note: Since no programming language is mentioned. I am attempting this in python. if you need it in…
Q: Create a python code that calculates which asks what amount of cake in grams from the user. Then the…
A: Here, we have to print the values with 1 point precision And for this we can use %.1f
Q: 1. Create a Raptor Flow Chart for this problem (hand written or using a software) ; screen capture…
A: Algorithm: Start Read no.of kWh If n<=55 and n>=0, set amount to 250 Else if n>55 and…
Q: 1. Please use Visual Studio or Xcode to create a program that asks user giving you 2 numbers, your…
A: All of the 3 programs are coded and provided below by using C++ language.
Q: Create a program that will let the user input the following: Quiz - 30% Requirements - 20% Major…
A: Java program: import java.util.Scanner;public class Main{ public static void main(String[] args) {…
Q: A check is a well-known financial document that is used in place of handing a person or company…
A: ALGORITHM: Step1: Using JAVA program we create a class as CheckProducer. Step 2: Here in coding we…
Q: Department # of Employees Percentage Accounting Marketing XXX XXX XXX XXX Use the following data…
A: - We need to solve the department and employee problem in C.
Q: Create a program to declare variables for product details. • INPUT values for the product details…
A: class store { String name; int id; double amount; int item; store( String…
Q: The credit plan at TidBit Computer Store specifies a 10% down payment and an annual interest rate of…
A: CODE: Python Programming Language price = int(input('Enter the purchase price:…
Q: Write a program that will take in basic information from a student, including student name, degree…
A: Answer :
Q: Create an investment-value calculator) Write a program that calculates the future value of an…
A: It is defined as a powerful general-purpose programming language. It is used in web development,…
Q: 1. Create a Program that will ask for the user's name, then will proceed to ask the user to input 2
A: Given :- In the above question, the statement is mention in the above given question Need to write…
Q: 2) for both triangle and diamond, first display a triangle of requested size, and then if the choice…
A: #include <bits/stdc++.h> using namespace std; void instructions(){ cout<<"Firstly…
Q: Create a program that will compute the simple interest loans in the bank. The program will ask the…
A: import java.util.Scanner;public class JavaExample{ public static void main(String args[]) {…
Q: Create a program that will ask for the username and password. USER NAME: PASSWORD: Note:…
A: As no programming language is mentioned, it is solved using basic C++
Q: A certain college classifies students according to credits earned. A student with less than 7…
A: the code is an given below
Q: Need help with Python....please paste indented code here 4. Implement the following to simulate how…
A: Answer for (4) current_users= ['admin', 'tom', 'jerry', 'Dora', 'GEORGE'] user = input("Enter your…
Q: Write a program that helps a company manage salaries of its employees. Your program should ask for…
A: EXPLANATION - A program is created . On program three variables are declared one for hours worked…
Q: Q5-What will be the output of the following code?A=100; if(A>99) clear A; end A never gets stored in…
A: Given: What is the output of the following code .
Q: Create a program that reads your name and address and displays it on four lines using the dialogue…
A: The above pogram is answered below.
Q: This activity is meant to give your team experience writing a larger program together.Your program…
A: This activity is meant to give your team experience writing a larger program together .Your program…
Q: Assume you are a college professor and have to average grades for 10 students. Write a program that…
A: Step-1: Start Step-2: Declare an array arr of size 10 Step-3: Declare two variables sum and avg…
Q: 1. Write a program named my_name.py that displays the following information: Your name The city…
A: here in this question we have asked to write a program that display some information like your name…
Q: Write a program in Python to find those numbers which are divisible by 3 and multiple of 9, between…
A: SOURCE CODE print("The Numbers Between 300 and 900 which are Divisible by 3 and are Multiple of 9 :…
Q: 1. Write a program that calculates the tax and tip of a restaurant bill for a patron with a cost of…
A: The C program code is given in next step with output screenshots
Q: Write, compile, and test a program named Lyrics that displays at least four lines of your favorite…
A: Program Plan: • This program displays the lyrics of a song on the console screen. • The predefined…
Q: program3_4.py Write a creative quiz program with three original questions that you make up as…
A: PROGRAM CODE: states = int(input('How many states in the USA ? ')) // take answer of first question…
Q: Write a program that will take in basic information from a student, including student name, degree…
A: In this question we need to Write the exact output you would expect from the following line of…
Q: 1. Create a program that will determine if an input character is a number, a letter, or a special…
A: Since you have asked multiple questions, we will solve the first question for you. If you want any…
Q: Write a measurement conversion program that will read a person's weight in grams and will display…
A: Here I have taken input from the user. Then, I have converted the inputted weight into the required…
Q: JAVA and Netbeans Using any of the discussed looping statements, create a code that will output the…
A: Program plan: For using the star patterns, the for loop is used to print the symbols This loop is…
Q: 1. Write a program that will allow a student to calculate his/her test average of four test scores.…
A: Code: import java.util.*;public class Main{ public static void main(String[] args) { //declaring…
Q: You require an algorithm that will receive the dimensions of a fish tank from the screen (length,…
A: File Handling code- // outFile for writing into a file ofstream outFile; // fileName for…
Q: Hello , okay so I sent a message asking for help on a question but I'm having a difficult time…
A: In this question, we need to input distance and speed in mph. We will calculate time using speed and…
Q: 2. Create a program that will accept 10 scores and will display the MAXIMUM SCORE. USE JAVA…
A: A program that accepts 10 numbers, will accept it in an array. It will only print the maximum score…
Q: Create a useful program that asks for the user to choose between 2 options, with each option calling…
A: Objective: The utility of a menu-driven program should be explained along with the method of…
Q: Show what the program segment would display on the screen. int x = 2; int y = 2 *…
A: Programming is a way to instruct the computer devices to operate. Every computer needs a set of…
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…
Q: 2. Create a program which stores some information about an employee information: ID number, full…
A: In this Question, we have to create a program that store some info of employee and also display…
Q: 3. Having a secure password is a very important practice, when much of our information is stored…
A: // Java code to validate a passwordimport java.util.*;public class Main {// user defined function to…
USING C++
Step by step
Solved in 2 steps with 2 images
- Assume you are working for a company and given the task to build an Email Registration Program. Theemail registration program functions as follows.• Prompt the user four things: first name, last name, security question answer, and birthyear.o Example:Enter first name: LeBronEnter last name: James(Security Question) Favorite car maker: BentleyEnter birth year: 1984• Generate a default Kean email address based on the first name and last name.o The default Kean email address consists of the first letter of the first name, a period, theentire last name all in lower case appended with @kean.edu.o Example: LeBron James → l.james@kean.edu• Generate a default password based on the last name, security question answer, and birthyear.o The default password is a sequence of 3 letters from last name, birthyear, and 3 lettersfrom the security question answer all in upper case.o Example: LeBron, 1984, Bentley → LEB1984BEN• Display the email information with first name, last name, email address, and…Write a program imitating a website where users can signin/signup, view certain information which can only beseen by signed in users, logout or exit the application.Initially you would have asequence userswithfollowing structure:users = [{"fname":"Usman","lname":"Rehman","email":"usman@outlook.com","password":"usman"},{ "fname":"Ali","lname":"Rehman","email":"ali@outlook.com","password":"outlook"},]You have to use this sequenceas a start(Maintain the same structure).Create a signup() where users should be able to signup(add another entryin this sequence). Create a signin() where users cansignin;authenticationwill be based on the email and password they providein signup()stage.Create a menu in main() having the option of Signup, Signin and exit.Using any application of your choice, write two Java programs that meet the following requirements: First program: Name of the program must be WritingToIO; The program uses two variables named emplNum and salary; The program must be able to accept values for each of the variables and save the information to a file called SalariesData.txt. Second program: Name of the program must be ReadingFromIO; This program must ensure the information/ values can be retrieved from the file SalariesData.txt referred to in Step 1a above (i.e. the file where the employee salary data was written to)
- Java code File IO ApplicationA shop collects the following information from its customers:1. Full name (first name, last name, and optional middle initial) 2. Address (street name and number, city, zip code, and state)3. Phone number 4. Email 5. First visit/service date6. Most recent visit/service date7. Total amount charged8. Current balance and description of the last service You are to write a program that allow the shop to manage their customers. The shop needs the following functionalities:1. Search for a customer by:a. Nameb. Phone numberc. Email (The result of the search would have similar option as in the “List all customers” option below)2. List all customersa. Select and edit a customer b. Delete a customer3. Add a new customera. Prompt for appropriate data fields4. Get account consolidation sheet that shows total charges and total balance of all customers5. Get the records of the biggest 5 spenders (spend the most)6. Exit and save all changes (all changes to the customers…Write a program that performs the following: 1) request a full name input by the user 2) display the first name 3) display the last name 4) display the initial in the format shown in the example output Input text can be any content. Just make sure to precisely match the output format below. Write your entire program in the ANSWER area provided below (must include comments if using code is not covered in the course). Example Output Enter your full name (first and last): Tom CatFirst Name: TomLast Name: CatInitial: T.C.This is an HTML embedded with Javascript file use javascript for the following: A. Generate a random integer number between 0-10 and store it as constantB. Prompt user to enter number between 0-10 (guessing the secret number). User should beallowed a maximum of 3 attempts to guess the number. If user clicks on cancel, exit theprogram.C. If the value entered by user is not a number, alert user (That was not a number, please tryagain). and do not count that as an attemptD. If user guesses the right number, exit loop and display congratulation message:“Congratulations, it took you n number of attempt/s”E. For those who embrace extra challenge:Enhance your code to alert user a hint message, i.e "That was too low", or if the numberwas higher, display alert message "That was too high"
- Create a file in your project named employees.txt with the following data (you can simply create the file by hand rather than with Python code): 123 Bob Smith345 Anne Jones256 Carol Lee845 Steve Robert Anderson132 Jill Thompson From your program's main function, give the user the following options: lookup a name based on ID number, lookup an ID number based on name, and quit the program. OPTION 1: The user chooses to lookup a name based on ID number: Use a try/except and ask the user to enter an integer. If they don't enter an integer, print an error message. If they do enter an integer, call a function named lookup_employee which takes the id as a parameter. If an employee with the given id number is found, return the name. Otherwise, return the string “Employee not found” Back in main, print the return result. OPTION 2: The user chooses to lookup an ID based on name: Ask the user to enter the first and last name (don't ask for the middle name). Call a function named…I've posted this question multiple times and I've received the same answer every single time that does not even work. So can someone provide a correct answer this time please. Create a java program for an inventory system that allows the user to add products to the inventory that will be stored in a file, update product information, delete product information, insert new products along with their information, view a specific product, and view all products. Please include at least a one-sentence comment explaining what each line of code does. Store the following data on the products: Product Code - string Name - string. Short Description - string Long Description - string. Items in Stock - integer Unit price - floatThis Java program needs to read from a txt file which holds five students' info, the program should then calculate and output the GPA of each students. Here is an example of the txt file : Tom IT 500 Business Analytics:94.6; IT 512 Project Management:88; IT 513 Information Security:91.2; ------------------------------------------- Tim MBA 503 Foundations of Business Statistics:85; IT 501 Fundamentals of Java Programming:70; IT 500 Business Analytics:64; IT 516 Social Media Analytics:77; IT 515 Organizational Behavior:50; ------------------------------------------- Smith MBA 503 Foundations of Business Statistics:20; IT 509 Data Management:89; IT 512 Project Management:90; ------------------------------------------- Davis MBA 503 Foundations of Business Statistics:77; IT 501 Fundamentals of Java Programming:89; IT 510 Information Technology Management:88; IT 517 Big Data Analytics:90; ------------------------------------------- Judge MBA 503 Foundations of Business Statistics:95; IT…
- The files provided in the code editor to the right contain syntax and/or logic errors. In each case, determine and fix the problem, remove all syntax and coding errors, and run the program to ensure it works properly. You also will use a file named DebugEmployeeIDException.java with the DebugTwelve4.java file. // An employee ID can't be more than 999 // Keep executing until user enters four valid employee IDs // This program throws a FixDebugEmployeeIDException import java.util.*; public class DebugTwelve4 { public static void main(String[] args) { Scanner input = new Scanner(System.in); String inStr, outString = ""; final int MAX = 999; int[] emps = new int[4]; for(int x = 0; x < emps.length; ++x) { System.out.println("Enter employee ID number"); inStr = input.next(); try { emps[x] = Integer.parseInt(inStr); if(emps[x] > MAX) { throw(new…*python form letter reply 2: Tom MalloryDuke ValeryJohn SmithMike AshelyCassey ColdWillie GreenJenna BrightVick ToryJulie NagasWill Sharpe *original form.reply. Hello Tracy Greer, We have received your support email and will contact you shortly, in the order received. Please allow 2 hours for our response. We appreciate your patience. Best Regards, The Support Dept. ***** Copy the contents of the form .py into form_letter_reply_v2.py.• Update the program so the content of the letter is created in a function if that is not already the case. That function should take in a "name" parameter of which the contents will be replaced after the Hello on the first line.• Extend the program to prompt for a file with a list of names in it, one per line.• For each name, generate the response letter as was done in the first version, with the name read in from the file sent to the function.• Write all responses to a file named "output_responses.txt". If the program is run multiple times, this…Write a program called HW2_Q1.py that asks a shop owner for product information and creates amenu system that allows customers to purchase multiple products of varying quantities. Theprogram should start by asking the shop owner’s name and company name. Next, it should ask forthree (3) products and their prices. Finally, it should display a menu. Use 2 functions for thisquestion. Namely:shop_details() – returns all required info for menu() functionmenu(product_1, price_1,product_2, price_2,product_3, price_3) - displaysthe menuBelow is a sample run of the program that demonstrates how your output could look (user input ishighlighted for emphasis):