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 program (calculation.ccp) to allow the user to perform an arithmetic operation on the two complex numbers entered.  The user can key in one of the four operations: addition

Expertsmind brings you unique solution in java assignments Packages A Java packages is a process for planning Java sessions into namespaces just like the segments of Modu

Let us say we have a list of 10 animal objects called "animals" in Alice. Write the code to move them forward synchronously by 1 meter.

You are to Use ASCII operations to design an IA-32 assembly language program which will do addition and subtraction on positive integers of any length represented in characters. T

1 Problem Description The task of the assignment is to build a book recommendation system for Auer Libraries. The system is to be implemented in Prolog and as the owners of t

I have a linux lab class that consist of 1 lab assignment per week for 5 weeks. It is an online virtual lab and is fairly easy, I just don''t have the time.

You must programme an analogue clock and digital stopwatch using the Processing programming language

After studying the concept, terminology, and implementation of CSS stylesheets, create a stylesheet to accompany your solutions to Question 1. A rich collection of styles should be

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

A string s is said to be periodic with a period α, if s is α k for some k > 2. (Note that α k is the string formed by concatenating k times.) A DNA sequence s is called a tande