Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
This code retrieves the "C" in the string "A$B$C$D" using StringTokenizer and outputs it:
You have been asked to construct a program in c++ that will draw rectangular fences and compute the area they enclose.You will need to prompt the user for a width and a height value and then draw the
Write a C++ program that reads a file named "grades.txt" consisting of students' test scores in the range 0-200 (all integer values). (The first number in the file specifies the number of grades it co
Write a complete C program which illustrates the Linked list applications data structures and algorithms that have been stressed throughout the course. The program will read in mid-semester test score
Create a class (in C++)named Card. The class should have two int data members named face and suit.
The Westfield Carpet Company has asked you to write an application that calculates the price of carpeting for rectangular rooms. To calculate the price
Why should you not use an external file name in any place other than the open statement?
Write a program to calculate the volume flow rate in cubic feet per second of water flowing through a pipe of diameter d in inches and a velocity of v feet per second. The formula for the flow rate is
The three basic control structures are sequence, selection, and repetition. Pick one and discuss it.
Write a C++ function printArray(A, m, n) that prints an m × n twodimensional array A of integers, declared to be "int** A," to the standard output.
You have a compiler for C which runs slow but gererates super efficient optimized code. You write a program PrgC in C
Write a song playlist class in C++ called "PlayList" using object-oriented design principles. The playlist should support the following ADT.
Write a c program to compute the power loss in a transmission line with a resistance of 0.05 ohms/mile. Compute the power loss if 500 kW of power is transmitted from a power generating station to citi
Enter your C++ instructions into a source file named Introductory11.cpp. Also enter appropriate comments and any additional instructions required by the compiler. Display the total amount owed in fixe
Write a program to compute the diameter in centimeters of a steel rod, an aluminum rod, and a copper rod, which can withstand a particular compression load. The allowable compression stress of steel,
Write a main function and the following functions to compute the stress and strain in a steel rod of diameter D (inches) and length L (inches) subject to the compression loads P of 10,000 to 1,000,000
What is the difference between system defined and user defined functions?
Write a program to compute the power loss in a transmission line with a resistance of 0.05 ohms/mile. Compute the power loss if 500kw of power is transmitted from a power generating station to cities
Write a program to record the temperature and pressure values in a scientific experiment and store the data in two one-dimensional arrays, then identify the extreme values of pressure and temperature.
Define a class called address_t with members for the four integers of an internet address and a fifth member in which to store an associated nickname of 10 characters. Your program should
Write a C++ program that stores lists of names (the last name first) and ages in parallel arrays and sorts the names into alphabetical order keeping the ages with the correct names.
Design the output for this program; create either sample output or a print chart.
Write the C program that evaluates the value of y=pow(c,1+x), for x in the interval: a<x<=b. Scan double values of a and b>a. Scan a double value c>0. Then, scan x and evaluate y and y/x.
Write a c++ program which inputs a person's height(in centimeters) and weight(in kilograms),calculates the Body/mass index(BMI)and returns one the following messages:underweight,normal,or overweight,
Chris Johanson wants a program that calculates and displays a 10%, 15%, and 20% tip on his total restaurant bill. First, create an IPO chart for this problem.