[solved] – Question 9814

Console.WriteLine(“Please enter your card number”);
string crdnum = Console.ReadLine();
int c = Convert.ToInt32(crdnum);

Console.WriteLine(“PLease enter your password”);
string psswrd = Console.ReadLine();
int p = Convert.ToInt32(psswrd);
int counter = 0;

do
{
if (c = i)
{
//This is where i want to compare the user input with the array but im stuck!!
}
} while (counter < 3

Expert Answer


[solved] – Question 98140

Can you change the background of slide?If yes, state steps in brief.

Expert Answer


[solved] – Question 98141

How do I write a program that uses two inputs statements to get two words as input. Then, print the words on one like separated by a space.

Expert Answer


[solved] – Question 98149

Write a loop to print 56 to 70 inclusive (this means it should include both the 56 and 70). The output should all be written out on the same line.

Sample Run
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70

Expert Answer


[solved] – Question 98176

Here is the basic graphics framework you should work on:

import simplegui

def draw_handler(canvas):
# your code goes here

frame = simplegui.create_frame(‘Testing’, 600, 600)
frame.set_canvas_background(“Black”)
frame.set_draw_handler(draw_handler)
frame.start()
Write a program to draw 1000 random points on a frame.

Challenge: Get the points to be in random colors.

Expert Answer


[solved] – Question 98197

Write a program that generate 20 random integers between 10 and 90 and then stores it in an
array. Your goal is to find:
• Mean
• Median
• Mode
For this question, provide switch menu to user in order to select one of the option from above.

Expert Answer


[solved] – Question 98211

In this assignment, you will draw a student schedule by using a while loop. You will ask the user for their first and last names, and then a list of their classes and room numbers.

The loop should stop when they enter STOP for their next class.

Print the schedule in the same format as the example below. Remember to use the tab escape character to make it nicely formatted.

Expert Answer


[solved] – Question 98217

Write a loop that inputs words until the user enters “STOP.” After each input, the program should number each entry and print in this format:

#1: You entered _____

When “STOP” is entered, the total number of words entered should be printed in this format:
All done. __ words entered.

Expert Answer


[solved] – Question 98233

Enter today’s day numerically: 17
Sorry, not a payday.
Enter today’s day numerically: 30
It’s payday!

3.3 codeing practice
Edhsive

Expert Answer


[solved] – Question 98276

write a c++ code to compute altitude and velocity each hour, starting from zero to 48 hours. so increment in time will be one hour, also find the peak altitude and the time this peak occurred. your manual calculation should test for following time in hours

Expert Answer