Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
1 write a program that finds the average of a series of numbers entered by the user as in the previous problem the
write a program to calculate the volume and surface area of a sphere from its radius given as input here are some
1 expand your solution to the previous problem to allow the calculation of a complete name such as john marvin zelle or
write a program to draw a quiz score histogram your program should read data from a file each line of the file contains
parameters are an important concept in defining functionsa what is the purpose of parametersb what is the difference
functions can be thought of as miniature subprograms inside of other programs like any other program we can think of
write a function that computes the area of a triangle given the length of its three sides as parameters see programming
redo programming exercise 2 from chapter 3 use two functions-one to compute the area of a pizza and one to compute cost
write a function to compute the nth fibonacci number use your function to solve programming exercise 3 from chapter
write and test a function to meet this specificationdrawfacecenter size win center is a point size is an int and win is
1 how is exception-handling using tryexcept similar to and different from handling exceptional cases using ordinary
1 a certain cs professor gives 5-point quizzes that are graded on the scale 5-a 4-b 3-c 2-d 1-f 0-f write a program
1 modify the cannonball simulation from the chapter so that it also calculates the maximum height achieved by the
1 revise the racquetball simulation to take shutouts into account your updated version should report for both players
1 modify the previous program to get its input from a file2 heating and cooling degree-days are measures used by
write a program that computes the fuel efficiency of a multi-leg journey the program will first prompt for the starting
1 the goldbach conjecture asserts that every even number is the sum of two prime numbers write a program that gets a
modify the face class from the previous problem to include a move method similar to other graphics objects using the
1 find the rules to an interesting dice game and write an interactive program to play it some examples are craps yacht
modify the recursive fibonacci program given in the chapter so that it prints tracing information specifically have the
create a class deck that represents a deck of cards your class should have the following methodsconstructor creates a
extend the random walk program from chapter 9 programming exercise 12 to keep track of how many times each square of
1 in your own words describe the process of ood2 in your own words define encapsulation polymorphism and inheritance3
1 using the ideas from this chapter implement a simulation of another racquet game see the programming exercises from
1 find a simple card game that you like and implement an interactive program to play that game some possibilities are