Program which prints odd or even according to user input, Programming Languages

Note: You should pay attention on following good practices:

  • Appropriate code comments(If you make any assumptions clearly comment them in the code)
  • Indentation
  • Instructional text for the user
  • Input validation and appropriate error messages
  • Use of appropriate data types
  • Include  Both Program Code, Design Code(Pseudo code)  in your Documentation

 

Question 1:

Briefly discus about Basic Data type in procedural languages

1) Examples of Basic data types

2) Characteristic Of Each Data type

Question 2:

Write a Program that prints "Number Limit Exceeded" if the user inserts a number more than 50.

Question 3:

Write Program code to accept age from the user. If the age i s negative or zero, the Message "age cannot be negative" and "age cannot be zero" should be displayed, respectively

Question 4: 

Write a program to compute the factorial of a number, and use it to print the factorials of the numbers 1-7

Question 5:

Write a program to print this triangle:

        *
        **
        ***
        ****
        *****
        ******
        *******
        ********
        *********
        **********

Use two nested loops instead. You'll have to use braces around the body of the outer loop if it contains multiple statements:

Question 6:

 Write a Program which prints "ODD" Or "EVEN" According to the user entered Number

Question 7:

Only the administrator to modify the Website of the company. The program accepts the name and password of a user and validates it with the name and password of the administrator. After validating the input, the program displays the message whether the user is allowed to modify

Question 8: 

Take two inputs from user and an Operator. Then calculate the result of the two according to the inserted operator.           

Make sure to use Reusability in you program

Posted Date: 3/19/2013 6:45:04 AM | Location : United States







Related Discussions:- Program which prints odd or even according to user input, Assignment Help, Ask Question on Program which prints odd or even according to user input, Get Answer, Expert's Help, Program which prints odd or even according to user input Discussions

Write discussion on Program which prints odd or even according to user input
Your posts are moderated
Related Questions
Write a Prolog predicate remove_nth(N,L1,L2) that is true if list L2 is just list L1 with its Nth element removed. If L1 does not have an Nth element then the predicate should fail

Draw the sequence diagram for the following scenario of eBroker. Sell Stock The user enters the username and password The system checks that the user is a valid user

Write a procedure named Str_concat that concatenates a source string to the end of a target string. Sufficient space must exist in the target string to accommodate the new characte

Memory Hierarchy for Linux Systems A cache line has one or more valid bit(s), tag entry and list of bytes in a block in one set of a cache, as shown below: If you were

use of exec and nice system call

What is Data Normalization and Schema Refinement? Define briefly..

Expertsmind brings you unique solution in java assignments Reflection API Uses of Reflection with java assignment help Reflection is widely used by applications which

Extensive programming platform .NET It is a new, simple, and comprehensive selection foundation. It is not a selection terminology, but it can handle several selection dialects.

Modularity, Abstraction, and Modelling Whether proving a theorem by creating up from lemmas to simple basic theorems to more accurate results, or designing a circuit by creati

This assignment begins software tools and techniques for structuring complex programs. Use it to become familiar with these facilities, and ensure you use the speci?ed concepts in