No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I want to know whats missing in my code...i couldnt draw a multiple boxes [CODE] Console.Title = "Checkboard Draw"; Console.WriteLine("{0, 40}", "Checkboard Draw"); CDrawer Canvas = new CDrawer(800, 600); int irange = 0; bool bError; do { try { bError = false; Console.Write("\nEnter the size of the square: "); irange … |
|
Use methods to input the principle, interest rate, and number or years to invest some money. Program will consist of the following methods. [B]GetInvestment()[/B] This method will input a double value for the princple, and a double value for the interest rate. All Values are input [B]without[/B] error checking. All … |
|
how come my code is not showing like the one in the picture below. [CODE] static void Main(string[] args) { Console.Title = "ICA18 - Methods"; Console.WriteLine("{0, 40}", "ICA 18 - Methods"); double dvelocity = GetDouble("Enter the velocity: ", 10.0, 200.0); double dangle = GetDouble("Enter the muzzle angle in degrees: ", … |
|
How Can I Bounce the ball everytime it hits the wall??? [CODE] using GDIDrawer; using System.Drawing; int iX = 0; //x ball position int iY = 0; //y ball position int iXVelocity = 5; //amount ball moves in x direction for every loop int iYVelocity = 5; //amount ball moves … |
|
What am i missing in my code. Because it is not working. According to visual studio, the istartd and iendd are unassigned local variable. [CODE] Console.WriteLine("{0, 40}", "Sphere Surface Area Evaluator"); Console.Write("\nEvaluates Surface areas of spheres of various diameter"); do { try { bError = false; Console.Write("\nEnter the starting diameter … |
|
the output should be: Triangle Drawer Enter the size of the triangle: 0 The size is out of range. Enter the size of the triangle: 11 The size is out of range. Enter the size of the triangle: cats An invalid value was entered. Enter the size of the triangle: … |
|
How to draw a flowchart for this: -Input the number of values (n) to be averaged. Check the number of values to ensure that it is in the range of 1 to 25. If the value is out of range, display an error message and use a loop to input … |
|
The game will have the computer generate a secret random number in the range of 1 to 100. The user will then have six tries to guess the secret number. After each guess, the algorithm will tell the user if the guess was too high, too low or was correct. … |
|
• Enter a do-while loop and generate a random, byte-sized, value in the range of 0 to 255. Store the random value in a variable of type byte. Display the value in hex as shown below. • The user will input a string containing 1's and 0's. Use a do-while … |
|
•Generate a random number from 1 to 100 inclusive. •Input a guess. Use a while loop to check the guess to ensure that it is within the range of 1 to 100, If the guess is outside that range, continue to input guesses until it is within the desired range. … |
|
My Name is Jude V. I'm first year student, studying computer engineering technology... I'm a beginner when it comes to programming...With the help of daniweb, im sure I will learn more about computer and my programming skill will improve... I'm Also Learning right now: Digital Fundamentals Logical Problem solving Programming … |
|
Write a pseudocode... A program is to be developed that will calculate the total length of music to be stored on a CD. Assume a CD may store 76 minutes of music. The user will enter the length of musical tracks in minutes and seconds (separately) in a loop. A … |