Browse W
Alphabetical listing with fast deep pagination.
66619 items • Page 1062 / 1333
Write a program pyramid.cpp that reads a positive odd whole number n and prints
Write a program pyramid.cpp that reads a positive odd whole number n and prints a pyramid where the first row contains all numbers from 1 to n (i.e., ascending order), the second …
Write a program read a input file and store the information in a class object be
Write a program read a input file and store the information in a class object below: class Person public: PersonO Write any other functions that are needed int presidency, birthYe…
Write a program reads a name (a string) and an age (an int) from the standard in
Write a program reads a name (a string) and an age (an int) from the standard input stream cin. Then, output a message including the name and age to the standard stream cout. Writ…
Write a program reads and prints a joke and its punch line from two different fi
Write a program reads and prints a joke and its punch line from two different files. The first file contains a joke, but not its punch line. The second file has the punch line as …
Write a program reads integer values representing hours, minutes, and seconds, a
Write a program reads integer values representing hours, minutes, and seconds, and prints the total number of seconds. Write a loop that will continue to input values from the use…
Write a program reverse_string.cpp, using pointers to the characters involved, t
Write a program reverse_string.cpp, using pointers to the characters involved, to reverse the string “Blacksburg” as “grubskcalB” and to print the result to std::cout. Internally,…
Write a program rootTable.cpp which reads in the number of roots, a value increm
Write a program rootTable.cpp which reads in the number of roots, a value increment and a precision and outputs a table of roots x1=2; x1=3; : : : for the given number of roots an…
Write a program rootTable.cpp which reads in the number of roots, a value increm
Write a program rootTable.cpp which reads in the number of roots, a value increment and a precision and outputs a table of roots x1=2; x1=3; : : : for the given number of roots an…
Write a program scat (simple cat or slow cat) that copies data from the standard
Write a program scat (simple cat or slow cat) that copies data from the standard input to the standard output. a) Implement the data copying loop using the C library functions get…
Write a program segment that decides whether a given year is a leap year or not.
Write a program segment that decides whether a given year is a leap year or not. A year is a leap year if it is divisible by 4, except for the case when it is also divisible by 10…
Write a program segment that translates an integer value into a letter grade. Be
Write a program segment that translates an integer value into a letter grade. Between 90 and 100 the segment should output 'A', between 80 and 89 it should output 'B', between 70 …
Write a program segment using WHILE loop condition that writes the numbers 0 to
Write a program segment using WHILE loop condition that writes the numbers 0 to 30 with an increment of 6. Sample run: 1) 0 612 18 24 30 2) Write a program segment using WHILE loo…
Write a program setbit.c that accepts two integer arguments s and p. If s is equ
Write a program setbit.c that accepts two integer arguments s and p. If s is equal to 1, it sets all the bits of an integer to 1 except for the p-th bit. If s is equal to 0, it se…
Write a program simulates a bank. Program should prompt the user asking if they
Write a program simulates a bank. Program should prompt the user asking if they want to run the program again. If yes, then start the program over. If no, then terminate the progr…
Write a program simulates that simulates the following roulette betting strategy
Write a program simulates that simulates the following roulette betting strategy, starting with a given initial balance greaterthanorequalto $1: Let n = $1 Place n on "Odd" If the…
Write a program so that calculates the distance traveled per hour. 1. In the CLI
Write a program so that calculates the distance traveled per hour. 1. In the CLICK event for the FOR-Up button, you must use FOR/NEXT to perform the operations as described in …
Write a program so that calculates the distance traveled per hour. When the user
Write a program so that calculates the distance traveled per hour. When the user clicks the calculate button, the application should display an INPUT BOX asking the user for the s…
Write a program specification that describes all specifications and functions pr
Write a program specification that describes all specifications and functions properly producing the correct input and output for the HR subsystem tables (REGIONS, JOBS). A progra…
Write a program sum of the two numbers in hexadecimal. that reads in two hexadec
Write a program sum of the two numbers in hexadecimal. that reads in two hexadecimal numbers from a file, hex.ext, and prints out the From Wikipedia: "In mathematics and computer …
Write a program that (1) accepts up to 15 positive real numbers, terminated with
Write a program that (1) accepts up to 15 positive real numbers, terminated with a final negative number that only acts as a sentinel (sentinel = indicates end of input data.) (2)…
Write a program that 1. Displays a welcome message of your choice. Prompts the u
Write a program that 1. Displays a welcome message of your choice. Prompts the user for two words then displays the number of characters, and the first and last characters of each…
Write a program that 1. Reads in a line of text 2. Then outputs the line so that
Write a program that 1. Reads in a line of text 2. Then outputs the line so that the first word and the second word are swapped No space at the beginning of the line Assum…
Write a program that 1. reads in a single string entered from the keyboard in th
Write a program that 1. reads in a single string entered from the keyboard in the form last_name,first_name with no embedded blanks. Note that a comma separates the two pieces. Ha…
Write a program that 1.allows you to write stats of a monster and save it to a f
Write a program that 1.allows you to write stats of a monster and save it to a file. (for cs132, in binary, cs131 in text format) (Things like Name, Hit Points, Minimum damage and…
Write a program that Calls a method called insertionSort that accepts an integer
Write a program that Calls a method called insertionSort that accepts an integer array as a parameter and sorts the elements in the array using the insertion sort algorithm. Print…
Write a program that Displays a welcome message of your choice. Prompts the user
Write a program that Displays a welcome message of your choice. Prompts the user for two words then displays the number of characters, and the first and last characters of each wo…
Write a program that Scans the DNA sequence filename from the standard input (do
Write a program that Scans the DNA sequence filename from the standard input (don't print a prompt to the user). Note that the file sent will be an altered version of the file you…
Write a program that a C++ program that can be used to determine grades at the e
Write a program that a C++ program that can be used to determine grades at the end of the semester. For each student, who is identified by an integer number between 1 and 60, four…
Write a program that a C++ program that can be used to determine grades at the e
Write a program that a C++ program that can be used to determine grades at the end of the semester. For each student, who is identified by an integer number between 1 and 60, four…
Write a program that a C++ program that can be used to determine grades at the e
Write a program that a C++ program that can be used to determine grades at the end of the semester. For each student, who is identified by an integer number between 1 and 60, four…
Write a program that a C++ program that can be used to determine grades at the e
Write a program that a C++ program that can be used to determine grades at the end of the semester. For each student, who is identified by an integer number between 1 and 60, four…
Write a program that a C++ program what can be used to determine grades at the e
Write a program that a C++ program what can be used to determine grades at the end of the semester. For each student, who is identified by an integer number between 1 and 60, four…
Write a program that a C++ program what can be used to determine grades at the e
Write a program that a C++ program what can be used to determine grades at the end of the semester. For each student, who is identified by an integer number between 1 and 60, four…
Write a program that a C++ program what can be used to determine grades at the e
Write a program that a C++ program what can be used to determine grades at the end of the semester. For each student, who is identified by an integer number between 1 and 60, four…
Write a program that a C++ program what can be used to determine grades at the e
Write a program that a C++ program what can be used to determine grades at the end of the semester. For each student, who is identified by an integer number between 1 and 60, four…
Write a program that a. Calls a method that takes two parameters, an integer and
Write a program that a. Calls a method that takes two parameters, an integer and an integer array. The call should perform binary search and should return the index of the integer…
Write a program that a. Calls a method that takes two parameters, an integer and
Write a program that a. Calls a method that takes two parameters, an integer and an integer array. The call should perform binary search and should return the index of the integer…
Write a program that a.Calls a method called insertionSort that accepts an integ
Write a program that a.Calls a method called insertionSort that accepts an integer array as a parameterand sorts the elements in the array using the insertion sort algorithm. Prin…
Write a program that accepts 10 scores (integer values, 0-100) and calculates an
Write a program that accepts 10 scores (integer values, 0-100) and calculates an overall GPA. The program will need to convert raw scores (0-100) into “grade scores”. 90 -100 ‘A’ …
Write a program that accepts 2 integer values from the user, wi For testing purp
Write a program that accepts 2 integer values from the user, wi For testing purposes, you have to output a newline after every user input (see examples below) th the prompts shown…
Write a program that accepts a C-string (or C++ string) input from the user and
Write a program that accepts a C-string (or C++ string) input from the user and reverses the contents of the string Your program should work by using two pointers. The "head" poin…
Write a program that accepts a c-string input from the user and reverse the cont
Write a program that accepts a c-string input from the user and reverse the contents of the string. Your program should work by using 2 pointers. The "head" pointer should be set …
Write a program that accepts a date as month/day/year, verifies that it is a val
Write a program that accepts a date as month/day/year, verifies that it is a valid date (e.g. 5/24/2012 is valid but 9/31/2012 is not because September has only 30 days), and then…
Write a program that accepts a date from the user in the form mm/dd/yyyy and the
Write a program that accepts a date from the user in the form mm/dd/yyyy and then displays it in the form month dd, yyyy, where month is the written name of the month. Store the m…
Write a program that accepts a date from the user in the form mm/dd/yyyy and the
Write a program that accepts a date from the user in the form mm/dd/yyyy and then displays it in the form month dd, yyyy, where month is the written name of the month. Store the m…
Write a program that accepts a date from the user in the formmm/dd/yyyy and then
Write a program that accepts a date from the user in the formmm/dd/yyyy and then displays it in the form month dd, yyyy, wheremonth is the name of the month: Enter a date (mm/dd/y…
Write a program that accepts a date from the user in the formmm/dd/yyyy and then
Write a program that accepts a date from the user in the formmm/dd/yyyy and then displays it in the form month dd, yyyy, wheremonth is the name of the month: Enter a date (mm/dd/y…
Write a program that accepts a file name from command line, then initializes an
Write a program that accepts a file name from command line, then initializes an array with test data using that text file as an input. The file should contain floating point numbe…
Write a program that accepts a file name from command line, then initializes an
Write a program that accepts a file name from command line, then initializes an array with test data using that text file as an input. The file should contain floating point numbe…
Write a program that accepts a month and a year (both in numbers) from the user
Write a program that accepts a month and a year (both in numbers) from the user and prints out the number of days in that month. Background: There are 31 days in January, March, M…