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

Assignment Help:

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


Related Discussions:- Program which prints odd or even according to user input

Program for adding a course in the website of a university, 1. You are work...

1. You are working as a designer for a university that offers a program in Computer Science. One of the tracts is computer security. One of your colleagues has recommended adding a

Applications of oop, Applications of OOP, The promising areas for applicati...

Applications of OOP, The promising areas for application of OOP include: Real-time systems Simulation and modelling Object-oriented databases Hypertext, hype

Create a raptor program - use class in raptor and in python, In this porti...

In this portion of the lab you will analyze a problem and create a Raptor program to solve it.  Make sure you use a class in Raptor and in Python to solve the problem.  Read the fo

Program for tube challenge route, 1. Introduction The Tube Challenge is ...

1. Introduction The Tube Challenge is a Guinness World Records challenge that tests both the physical and mental abilities of the person trying to break it. The main components

Use an insertion sort to sort an array, Use an insertion sort to sort an ar...

Use an insertion sort to sort an array (sequence) of long word integers. The size of the list will appear just before the list itself. Use the same labels as in this example: LE

Python, interference of waves

interference of waves

What are the characteristics of a good algorithm, What is an algorithm? Wha...

What is an algorithm? What are the characteristics of a good algorithm? An algorithm is defined as “a step-by-step procedure of accomplishing some task'''' An algorithm may be sh

Python, please decode the following as it is answer for my assisgnment for ...

please decode the following as it is answer for my assisgnment for python: Ñò üOLOc  @ s‚ d „ Z d „ Z g Z xYe oQe ƒ e d ƒ i ƒ Z e d j oI e d

Java interfaces, Expertsmind brings you unique solution in java assignment...

Expertsmind brings you unique solution in java assignments Interfaces A program in the Java selection language is a fuzzy type that is used to specify a program (in the ge

Function to check whether a certain ingredient is on pizza, Carnivorous Car...

Carnivorous Carla only eats pizza if it has at least three of the following ingredients: ham, pepperoni, salami, italian sausage, bacon. You have the function contains() to check w

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd