Tuesday 8 May 2018

Rules to declare a valid variable

List out the rules to declare a valid variable in ‘C’ program. Evaluate the following expression and show the hierarchy of operations:
( 2 + 4 ) / 3 + 2%3 * 2 – 5

Solution : 

Read List out the rules to declare a valid variable 

Expression Solve Steps

  • (2+4)/3+2%3*2-5
  • 6/3+2%3*2-5

Sunday 6 May 2018

Humanoid Robot MBA Project

Humanoid  Robot MBA Project

Humanoid
Robot

Table of Content

    1. Acknowledgement
    2. Certificate
    3. Student  declaration
    4. Introduction

Friday 4 May 2018

Structure Programming



Structure programming is a programming approach in which all the programming task is achieved through function/Methods that is sometimes it’s called modular programming. Structure programming uses procedure approach to solve a program using top down methodology. 

One big advantage of structure programming language is simplicity because we have to design programming task in modules which are connected to each other and can be called from any functions. We have all the modern powerful programming stuff like loop, switch-case, if-else etc that help to reduce the uses of goto statement because goto statement makes our program unstructured due to random move to any other statements.

Monday 30 April 2018

While Loop with example

Q : Write and explain the action of WHILE statement. Develop a program in ‘C’ language to compute the average of every third integer number lying between 1 and 100. Include appropriate documentation.

Solution :