Web development and programming
191828 questions • Page 267 / 3837
1. Write a program that add 0x13 for 100 times by itself and store it in 0x30 an
1. Write a program that add 0x13 for 100 times by itself and store it in 0x30 and 0x31 of the file register: 2. Write a program that search through the following 20 hex numbers an…
1. Write a program that adds the values of an integer array. Declare an array of
1. Write a program that adds the values of an integer array. Declare an array of integer values that will represent the first five odd numbers: 1, 3, 5, 7, and 9. Initialize each …
1. Write a program that allows you to read in an English-French dictionary into
1. Write a program that allows you to read in an English-French dictionary into two arrays - one for English words and one for French words. The dictionary data c…
1. Write a program that asks a user to enter an integer and a number n between 0
1. Write a program that asks a user to enter an integer and a number n between 0 and 9. The program should count the number of n’s in the integer. For example, if the user types i…
1. Write a program that asks the user to enter five test scores. the program sho
1. Write a program that asks the user to enter five test scores. the program should display a letter grade for each score and average test score. design the following functions in…
1. Write a program that asks the user to input the radius and height of a cylind
1. Write a program that asks the user to input the radius and height of a cylinder and the unit weight of the material (in pounds per square feet). The program computes the surfac…
1. Write a program that blocks and then ignores the signal, SIGINT in 7 steps as
1. Write a program that blocks and then ignores the signal, SIGINT in 7 steps as follows 1) Set up the handler for the signal SIGINT • Use signal( ) to set up a handler for SIGI…
1. Write a program that calculates and prints the average of several integers. A
1. Write a program that calculates and prints the average of several integers. Assume the last value read with scanf is the sentinel 9999. A typical input sequence might be 10 8 1…
1. Write a program that calculates and prints the average of several integers. A
1. Write a program that calculates and prints the average of several integers. Assume the last value read with scanf is the sentinel 9999. A typical input sequence might be 10 8 1…
1. Write a program that calculates and prints the average of several integers. A
1. Write a program that calculates and prints the average of several integers. Assume the last value read with scanf is the sentinel 9999. A typical input sequence might be 10 8 1…
1. Write a program that calculates pay for either an hourly paid worker or a sal
1. Write a program that calculates pay for either an hourly paid worker or a salaried worker. Hourly paid workers are paid their hourly pay rate times the number of hours worked. …
1. Write a program that calculates the average of 10 test scores. This program l
1. Write a program that calculates the average of 10 test scores. This program lets the user enters 10 test scores into an array. The program will then calculate and output the av…
1. Write a program that calculates the average of a stream of positive numbers.
1. Write a program that calculates the average of a stream of positive numbers. The user can enter as many positive numbers as they want, and they will indicate that they are f…
1. Write a program that calculates the average of four test scores, where the lo
1. Write a program that calculates the average of four test scores, where the lowest score in the group is dropped. It should use the following functions: ? int getScore() should …
1. Write a program that calculates the cost of washing an automobile. The cost o
1. Write a program that calculates the cost of washing an automobile. The cost of washing will depend upon what actions the owner requests to be performed. Certain operations depe…
1. Write a program that computes the tax and tip on a restaurant bill that has a
1. Write a program that computes the tax and tip on a restaurant bill that has a $55.03 meal cost. The tax is 9.25% of the meal cost. Tip is 10% of the total after adding the tax.…
1. Write a program that computes the volume of a box. The function main in the p
1. Write a program that computes the volume of a box. The function main in the program calls a function to read the length, width and height of the box from the keyboard. The prog…
1. Write a program that converts a number entered in Roman numerals to decimal.
1. Write a program that converts a number entered in Roman numerals to decimal. Your program should consist of a class, say, romanType. An object of type romanType should do the f…
1. Write a program that creates an array containing all even numbers from 1 to 1
1. Write a program that creates an array containing all even numbers from 1 to 100 in ascending order. Display the 5 largest even numbers from the array in descending order. The o…
1. Write a program that displays a new random permutation of the integers 0 to 9
1. Write a program that displays a new random permutation of the integers 0 to 9 at the request of its user. For example, the program%u2019s output could be as follows: 2 8 0 1…
1. Write a program that does something interesting with an array of 10 numbers.
1. Write a program that does something interesting with an array of 10 numbers. 2. Be sure to write a reasonable specification and test scenario. Example Requirements Specific…
1. Write a program that includes a SavingsAccount class. Data members: firstName
1. Write a program that includes a SavingsAccount class. Data members: firstName (string) lastName (string) savingBalance annualInterestRate (static) objec…
1. Write a program that includes a SavingsAccount class. Data members: firstname
1. Write a program that includes a SavingsAccount class. Data members: firstname(string) lastname(string) savingsBalance annualInterestRate(static) objectnumber…
1. Write a program that plays the game of“guess the number” as follows: your pro
1. Write a program that plays the game of“guess the number” as follows: your programchooses the number to be guessed by selecting an integer at randomin the range 1 to 100. Th…
1. Write a program that prints 2, 4, 8, 16, 32… up to a number 2n where n is req
1. Write a program that prints 2, 4, 8, 16, 32… up to a number 2n where n is requested from the user at the beginning of the program. Use any kind of “for”, “while”, or “do-while”…
1. Write a program that prints the following array’s values in descending order:
1. Write a program that prints the following array’s values in descending order: int a[]={1,5,3,7,9,0,2,6,4,8}; 2. A palindrome is a number or text phra…
1. Write a program that prompts the user to enter an integer and determines whet
1. Write a program that prompts the user to enter an integer and determines whether it is divisible by 6 and 7, whether it is divisible by 6 or 7, and whether it is divisible by 6…
1. Write a program that prompts the user to enter in characters, an equal sign,
1. Write a program that prompts the user to enter in characters, an equal sign, and an integer. The program then reads and discards all characters from standard input using getcha…
1. Write a program that prompts the user to enter the number of students, the st
1. Write a program that prompts the user to enter the number of students, the student’s names, and their scores. The program then prints the student names in decreasing order of t…
1. Write a program that prompts the user to enter three positive integers and fi
1. Write a program that prompts the user to enter three positive integers and finds their greatest common divisor. (35 pts) Solution: Suppose you enter two integers 8, 4 and 2, th…
1. Write a program that prompts you to input a positive floating point value. If
1. Write a program that prompts you to input a positive floating point value. If the value is negative, print an error message. otherwise, find the square root of the value using …
1. Write a program that reads a string and counts the number of words in it. Wor
1. Write a program that reads a string and counts the number of words in it. Words are dened as substrings separated by spaces. For instance, whenthe user enters “Call me Ishmael”…
1. Write a program that reads in a list letter grades and class hours via the ke
1. Write a program that reads in a list letter grades and class hours via the keyboard and reports the GPA for the given grades. Recall that grades are weighted as: Grade Weight A…
1. Write a program that reads text from the text file and breaks it up into indi
1. Write a program that reads text from the text file and breaks it up into individual words. Insert the words into a tree set. At the end of the input file, print all words, foll…
1. Write a program that reads two coordinates (x1, y1) and (x2, y2), and prints
1. Write a program that reads two coordinates (x1, y1) and (x2, y2), and prints the slope of the line passing through these two points. 2. Write a program that reads three coordin…
1. Write a program that reads two coordinates (x1, y1) and (x2, y2), and prints
1. Write a program that reads two coordinates (x1, y1) and (x2, y2), and prints the slope of the line passing through these two points. 2. Write a program that reads three coordin…
1. Write a program that reads two coordinates (x1, y1) and (x2, y2), and prints
1. Write a program that reads two coordinates (x1, y1) and (x2, y2), and prints the slope of the line passing through these two points. 2. Write a program that reads three coordin…
1. Write a program that reads two coordinates (x1, y1) and (x2, y2), and prints
1. Write a program that reads two coordinates (x1, y1) and (x2, y2), and prints the slope of the line passing through these two points. 2. Write a program that reads three coordin…
1. Write a program that reads two coordinates (x1, y1) and (x2, y2), and prints
1. Write a program that reads two coordinates (x1, y1) and (x2, y2), and prints the slope of the line passing through these two points. 2. Write a program that reads three coordin…
1. Write a program that replaces text in a source file and saves the changes in
1. Write a program that replaces text in a source file and saves the changes in the same source file. The program should take the following from user input. o Source file name o O…
1. Write a program that requests two integers, min and max. Write a function nam
1. Write a program that requests two integers, min and max. Write a function named output to print al1 odd numbers from inclusive. max down to min a) Main should handle all input.…
1. Write a program that takes input of three integers from theuser, and prints t
1. Write a program that takes input of three integers from theuser, and prints the three numbers is an ascending order. Besidesthe main() function, your program should contain two…
1. Write a program that takes two square matrices of integers (up to 100*100 in
1. Write a program that takes two square matrices of integers (up to 100*100 in size) and calculates the scalar product of the two none main diagonals. For example, for the two fo…
1. Write a program that updates the time by one second. Use a struct with three
1. Write a program that updates the time by one second. Use a struct with three integer members representing hours, minutes and seconds. The program should accept military time ex…
1. Write a program that uses a for statement to calculate and print the average
1. Write a program that uses a for statement to calculate and print the average of four integers. 2. Write a program that uses a for statement to find the smallest of five integer…
1. Write a program that uses one of the Map classes to implement a contact list.
1. Write a program that uses one of the Map classes to implement a contact list. Contact information should include first name, last name, a phone number and an email address. The…
1. Write a program that uses while loops to perform the followingsteps: . A. Pro
1. Write a program that useswhile loops to perform the followingsteps: . A. Prompt the user to input twointegers: firstNum and secondNum. (firstNum mustbe less than secondNum). B.…
1. Write a program that will allow a user the opportunity to compare and analyze
1. Write a program that will allow a user the opportunity to compare and analyze the efficiency of several sorting algorithms. The program will sort integer arrays of size 10, 100…
1. Write a program that will ask the user for a given name and report the corre-
1. Write a program that will ask the user for a given name and report the corre- sponding family name. Use the names of people you know, or (if you spend so much time on the compu…
1. Write a program that will prompt the user to input their Name, sales amount f
1. Write a program that will prompt the user to input their Name, sales amount for week1, week2, week3, and week4. Your program should display the Name that was entered by user an…
Subject
Web development and programming
Use Browse or pick another subject.