Browse C
Alphabetical listing with fast deep pagination.
81169 items • Page 84 / 1624
C++ Write a program that generates a random number between 1 and 100 and asks th
C++ Write a program that generates a random number between 1 and 100 and asks the user to guess what the number is. If the user’s guess is higher than the random number, the progr…
C++ Write a program that implements 4 functions. Function 1: This function shoul
C++ Write a program that implements 4 functions. Function 1: This function should be named "GetSecondsForYears". "GetSecondsForYears" will take as a parameter an integer which is …
C++ Write a program that inputs the amount of the purchase and calculates the sh
C++ Write a program that inputs the amount of the purchase and calculates the shipping charge based on the following table: $0.00 - $250.00: $5.00 $250.01 - $500.00: $8.00 $500.01…
C++ Write a program that opens a file of the users choice that contains a list o
C++ Write a program that opens a file of the users choice that contains a list of birthdays. Extract from this file two things: (1) the date with the most common birthday (all of …
C++ Write a program that outputs inflation rates for two successive years and wh
C++ Write a program that outputs inflation rates for two successive years and whether the inflation is increasing or decreasing. Ask the user to input the current price of an item…
C++ Write a program that outputs inflation rates for two successive years and wh
C++ Write a program that outputs inflation rates for two successive years and whether the inflation is increasing or decreasing. Ask the user to input the current price of an item…
C++ Write a program that outputs inflation rates for two successive years and wh
C++ Write a program that outputs inflation rates for two successive years and whether the inflation is increasing or decreasing. Ask the user to input the current price of an item…
C++ Write a program that outputs the shortest distance from a given node to ever
C++ Write a program that outputs the shortest distance from a given node to every other node in the graph. Program must use these files: Ch20_Ex3.cpp give main program graphType.h…
C++ Write a program that produces the truth table of the following logical opera
C++ Write a program that produces the truth table of the following logical operators. You can output one table with all the operators (one column for each operator) or ve tables (…
C++ Write a program that prompts the user to enter 3 integers. These 3 integers
C++ Write a program that prompts the user to enter 3 integers. These 3 integers should be the numbers that represent the capital letters of your First and Last Name and your middl…
C++ Write a program that prompts the user to enter 3 integers. These 3 integers
C++ Write a program that prompts the user to enter 3 integers. These 3 integers should be the numbers that represent the capital letters of your First and Last Name and your middl…
C++ Write a program that reads in a list of integers from the keyboard into an a
C++ Write a program that reads in a list of integers from the keyboard into an array. The list will be terminated by the value 0. The value 0 is not part of the list and should no…
C++ Write a program that reads student\'s names followed by their test scores fr
C++ Write a program that reads student's names followed by their test scores from the input file i provided in Canvas. The program should output to a file, output.txt, each studen…
C++ Write a program that reads students’ names followed by their test scores fro
C++ Write a program that reads students’ names followed by their test scores from the given input file. The program should output to a file, output.txt, each student’s name follow…
C++ Write a program that reads students’ names followed by their test scores fro
C++ Write a program that reads students’ names followed by their test scores from the given input file. The program should output to a file, output.txt, each student’s name follow…
C++ Write a program that reads the total rainfall for each of 12 months into an
C++ Write a program that reads the total rainfall for each of 12 months into an array of float from a file named rain.txt. The program should calculate and display the total rainf…
C++ Write a program that reads the total rainfall for each of 12 months into an
C++ Write a program that reads the total rainfall for each of 12 months into an array of float from a file named rain.txt. The program should calculate and display the total rainf…
C++ Write a program that reads the total rainfall for each of 12 months into an
C++ Write a program that reads the total rainfall for each of 12 months into an array of float from a file named rain.txt. The program should calculate and display the total rainf…
C++ Write a program that replies either Leap Year or Not a Leap Year, given a ye
C++ Write a program that replies either Leap Year or Not a Leap Year, given a year. It is a leap year if the year is divisible by 4 but not by 100 (for example. 1796 is a leap yea…
C++ Write a program that simulates the game of craps, which is played with two d
C++ Write a program that simulates the game of craps, which is played with two dice On the first roll, the player wins if the sum of the dice is 7 or 11. The player loses if the s…
C++ Write a program that uses a recursive function to determine whether a string
C++ Write a program that uses a recursive function to determine whether a string is a character-unit palindrome. Moreover, the options for doing case sensitive comparisons and not…
C++ Write a program that uses a structure to store the following information for
C++ Write a program that uses a structure to store the following information for a particular month at the local airport : · Total number of planes that landed · Tot…
C++ Write a program that uses a two-dimensional array to store the highest and l
C++ Write a program that uses a two-dimensional array to store the highest and lowest temperatures for each month of the year. The program should output the average high, average …
C++ Write a program that uses a two-dimensional array to store the highest and l
C++ Write a program that uses a two-dimensional array to store the highest and lowest temperatures for each month of the year. Have users enter the data. The program should output…
C++ Write a program that uses a two-dimensional array to store the highest and l
C++ Write a program that uses a two-dimensional array to store the highest and lowest temperatures for each month of the year. The program should output the average high, average …
C++ Write a program that uses the random number generator to create sentences. T
C++ Write a program that uses the random number generator to create sentences. The program should use four arrays of pointers to char called article, noun, verb and preposition. T…
C++ Write a program that uses while loops to perform the following steps: a. Pro
C++ Write a program that uses while loops to perform the following steps: a. Prompt the user to input two integers: firstNum and secondNum (firstNum must be less than secondNum). …
C++ Write a program that uses while loops to perform the following steps: a. pro
C++ Write a program that uses while loops to perform the following steps: a. prompt the user to input two integers: firstNum and secondNum b. Output all odd numbers between firstN…
C++ Write a program that will ask the user for three test scores. These test sco
C++ Write a program that will ask the user for three test scores. These test scores are integers and vary from 0 to 100. Write the condition so that it uses 0 and 100 to determine…
C++ Write a program that will compare current hourly temperatures with the previ
C++ Write a program that will compare current hourly temperatures with the previous day's hourly temperatures. Specifications: 1. The program will read data from a file named "dai…
C++ Write a program that will compare current hourly temperatures with the previ
C++ Write a program that will compare current hourly temperatures with the previous day's hourly temperatures. Specifications: 1. The program will read data from a file named "dai…
C++ Write a program that will insert random integers between 0 and 150 into a li
C++ Write a program that will insert random integers between 0 and 150 into a list and perform some calculations. You will prompt the user to ask them the number of elements in yo…
C++ Write a program that will use a loop to read in floating point numbers from
C++ Write a program that will use a loop to read in floating point numbers from a file named myFile.txt until it reaches the end of the file. Add up all the numbers read in from t…
C++ Write a program that will utalize a Fraction struct that has a numerator and
C++ Write a program that will utalize a Fraction struct that has a numerator and a denominator. Make an overloaded operator + for the struct that can add two Fractions and return …
C++ Write a program to allow the user to: 1. Create two classes. Employee and De
C++ Write a program to allow the user to: 1. Create two classes. Employee and Departments. The Department class will have: DepartmentID, Departmentname, DepartmentHeadName. The Em…
C++ Write a program to allow the user to: 1. Create two classes. Employee and De
C++ Write a program to allow the user to: 1. Create two classes. Employee and Departments. The Department class will have: DepartmentID, Departmentname, DepartmentHeadName. The Em…
C++ Write a program to ask for Part number, part name, partclass, number in stoc
C++ Write a program to ask for Part number, part name, partclass, number in stock and unit price. The data should be read into a struct and passed to a function which writes it ou…
C++ Write a program to calculate your final grade in class. Four assignments hav
C++ Write a program to calculate your final grade in class. Four assignments have yet to be graded: Lab 6, Project 6, Exam2 and Final exam. Assume ungraded items receive a grade o…
C++ Write a program to compute the charge for mailing a series of packages. The
C++ Write a program to compute the charge for mailing a series of packages. The charge for a package is based on its weight (int) and volume (int). There is a charge of $4.00 per …
C++ Write a program to find the number of comparisons using the binary search an
C++ Write a program to find the number of comparisons using the binary search and sequential search algorithms as follows: Suppose list is an array of 1000 elements. a. Use a rand…
C++ Write a program to perform following tasks: With a while loop statement to a
C++ Write a program to perform following tasks: With a while loop statement to add squares of all the even numbers from 11 to 111 and display the sum. With a while loop statement …
C++ Write a program to simulate a lottery drawing that uses balls numbered from
C++ Write a program to simulate a lottery drawing that uses balls numbered from 1 to 10. Assume that five balls are drawn at random. All five balls for each drawing are unique. Al…
C++ Write a program using structures to store the following weather information:
C++ Write a program using structures to store the following weather information: Total Rainfall High Temperature Low Temperature Average Temperature The program should have an arr…
C++ Write a program using structures to store the following weather information:
C++ Write a program using structures to store the following weather information: Total Rainfall High Temperature Low Temperature Average Temperature Use an input file called input…
C++ Write a program using structures to store the following weather information:
C++ Write a program using structures to store the following weather information: Total Rainfall High Temperature Low Temperature Average Temperature Use an input file called input…
C++ Write a program using structures to store the following weather information:
C++ Write a program using structures to store the following weather information: Total Rainfall High Temperature Low Temperature Average Temperature Use an input file called input…
C++ Write a program using structures to store the following weather information:
C++ Write a program using structures to store the following weather information: Total Rainfall High Temperature Low Temperature Average Temperature Use an input file called input…
C++ Write a program which accepts a floating-point number as a command-line argu
C++ Write a program which accepts a floating-point number as a command-line argument, then delays for that number of seconds (use the usleep function). In addition, it should show…
C++ Write a program which multiplies two matrices. The matrices may be any size,
C++ Write a program which multiplies two matrices. The matrices may be any size, contain integers, and will come as input from the user. Each matrix will be input with the columns…
C++ Write a program which uses an array of string objects to hold the five stude
C++ Write a program which uses an array of string objects to hold the five students' full names (including spaces), an array of five characters to hold each student's letter grade…