Reference no: EM132211512
Question :
Write a program, using nested loops, which outputs the numbers from 1 to 80 in 8 columns and 10 rows.
Your output should look something like this. (The sample programs should help you figure out how to do this):
Now modify it so it outputs the table like this. Note that the numbers go down the columns now (but you still have to output row by row...).
You may need to do some thinking to figure out how to do this; it might help to do it on paper first, and figure out what you need to add as you go across the columns, and as you go down to the next row.
(Hint: for each row, what is the value at the beginning of the row, and what do you need to add to each column to get the value for the next column of the current row?)
Now modify it so it prompts you for the maximum number to output, and the number of rows. (Keep it simple...no need for error checking on the input.)
How many numbers to output? 80 how many rows?
Display the seating chart of a theater
: Write a program that can be used by a small theater to sell tickets for performances.Display the seating chart of a theater.
|
Write a program that takes two words as input from keyboard
: Write a program that takes two words as input from the keyboard, representing a password and the same password again.
|
Perform the addition of two byte sized numbers
: Write a program in TASM that performs the addition of two byte sized numbers that are initially stored in memory locations 'num1' and 'num2'.
|
Write a prolog recursive predicate that tells us
: This knowledge base holds facts about towns you can travel between by taking a direct train, e.g., from union station to san bernardino.
|
Write a program which outputs the numbers from 1 to 80
: Write a program, using nested loops, which outputs the numbers from 1 to 80 in 8 columns and 10 rows.
|
Write a program using python that asks the user to enter air
: Write a program using python that asks the user to enter air, water, and steel abd the distance that a sound wave will travel in the medium.
|
Write a program with an array of four payroll objects
: Design a PayRoll Class that has data members for an employee's hourly pay rate, number of hours worked,and total pay for the week.
|
Find optimal number of clusters using elbow method
: Find optimal number of clusters using Elbow Method and then Apply K-Means clustering. Finally do visualization for K-Means Clustering.
|
Write a program of wordsearch puzzle
: Write a program of wordSearch puzzle that use the following text file as an input. The output should be like this: PIXEL found (left) at (0,9).
|