answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: How do you create pseudocode for number counter?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write the pseudocode for finding the largest of three numbers?

max=number min=number counter=1 start while(counter<=3) read number start if max<number max=number else if min>number min=number end while write max write min /*modify the counter switch according to the number of values being compared if required*/


write a pseudocode to accept a number and find if it is prime or not?

Yes


How do you write an algorithm to find the number of times a given ITEM occurs in LIST?

You can write any algorithm in any way you like. Many prefer pseudocode or flowcharts, others use prose or more formalized methods. For example, if you wanted to describe an algorithm to count the number of occurrences of a given item I in a given list L, I would propose the following pseudocode: let counter be 0. let the current item C be the first item in list L. while C == valid { if C matches I then increment counter set C to the next item in the list } return counter.


Write the Pseudocode to find the factorial of a number?

Pseudo code+factorial


How do I write a pseudocode algorithm which inputs numeric scores and outputs how many of them are over 100. The end of the data is signalled by a user input of -1.?

101


Write a pseudocode statement that assigns the sum of 10 and 14 to the variable total?

There are different ways of writing a pseudocode statement but the concept remains, it can be presented: /*Declare variables Total (number (3)) = 0 A (number (2)) =10 B (number (2)) =14 begin Total=A+B end


How do you write the pseudocode for an application that accepts a number as input and displays the number three times?

input number for loop = 1 to 3 inclusive print number end for


Types of algorithm?

pseudocode


What is imitation code?

pseudocode


What is a pseudocode design tool?

SPOK (Structured Prose Organizer for KEDIT) is a pseudocode design tool. (SPOK4 at Verizon.Net)


Difference between pseudocode and structured English?

structured English resembles spoken Englishwhere as pseudocode resembles programming languageWhat_are_the_differences_between_structured_English_and_pseudo_code


How to write a program to get this as answer 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5?

This Example code is written is basic. The counter variable is the Number you want to reach. You use a for loop to print from 1 to the counter number. Then you increase the counter number by 1 then go through your for loop again until you reach your counter number, and the process keeps going. Counter as Integer Counter= 1 Do For Number = 1 to Counter Print Number Next Number Counter=Counter+1 Loop