03Aug/16

Structured Programming Language Assignment

Assignment

Dear Students,
Good day!

I do believe you have learnt a lot of things about Structured Programming language (C). Now this is your turn to prove your efficiency and creativity. Create a program which will be counted as an assignment that must meet the following criteria:

  • This assignment has to be created individually.
  • Create 15 different functions for solving 15 different problems.
  • You must include the following applications in your program:
    • for loop, while loop
    • if..else, nested if…else
    • call by value & call by reference
    • array
  • Apply switch to set the choice that means which function you want to execute.
  • Use do…while for multiple process.
  • Submit your assignment to bulbul2spl@gmail.com by August 16, 2016.
  • If two assignments are similar, both of them will get Zero.

Please feel free to contact me if you have further queries. 

03Aug/16

Object-Oriented Programming Assignment

Assignment

Dear Students,
Good day!

I do believe you have learnt a lot of things about OOP (C++). Now this is your turn to prove your efficiency and creativity. Create a program which will be counted as an assignment that must meet the following criteria:

  • This assignment has to be created individually.
  • Create 12 different functions for solving 12 different problems.
  • You must include the following applications in your program:
    • for loop
    • if..else
    • array
  • Apply switch to set the choice that means which function you want to execute.
  • Use do…while for multiple process.
  • Submit your assignment to bulbul2cpp@gmail.com by August 17, 2016.
  • If two assignments are similar, both of them will get Zero.

Please feel free to contact me if you have further queries. 

03Aug/16

E-Commerce Lab Assignment

How to publish your website online:

Assignment

Dear Students,
Good day!
I do believe you have learnt a lot of things about HTML and CSS. Now this is your turn to create your personal web site which will be counted as an assignment. Ensure that the following criteria are included in your assignment:

  • This assignment has to be created individually.
  • Publish your site online and send the link to bulbul2html@gmail.com by August 19, 2016.
  • If two assignments are similar, both of them will get Zero.
  • Your website must contain at least five pages including the index page.
  • Index page (index.html) should be filled with relevant information and images.
  • Create menu using HTML and CSS.
  • Create at least one page using div & class
  • Add at least four links in your index page through menu.
  • Add at least one table with relevant information in any page.
  • Create al least one form in any page which includes User Name, Password, Comment Box, Save button, Cancel button etc.
  • Add at least two web site links in your index page.
  • Use proper header and footer.

Please feel free to contact me if you have further queries. 

13Jun/16

Example of nested if…else

Program

#include <stdio.h>
int main () {
   int a = 50, b = 100;
   if( a == b ) {
      printf("a is equal to b" );
   }
   else if( a == 90 ) {
      printf("a is equal to 90" );
   }
   else if( b == 60 ) {
      printf("b is equal to 60" );
   }
   else {
      printf("a is not equal to b" );
   }
   return 0;
}

Output

a is not equal to b
13Jun/16

Example of if…else

Program:

#include<stdio.h>
int main()
{
 int marks;
 printf("Enter your marks:");
 scanf("%d",&marks);
 if(marks>=40)
   {
   printf("You are a winner");
   }
 else
   {
   printf("you are a loser");
   }
   return 0;
}

Output:

Enter your marks:35
You are a loser
13Jun/16

Example of if

Program:

#include<stdio.h>
int main()
{
 int marks;
 printf("Enter your marks:");
 scanf("%d",&marks);
 if(marks>=80)
   {
   printf("You are a winner");
   }
   return 0;
}

Output:

Enter your marks:90
You are a winner
13Jun/16

Syntax of if , if…else, nested if…else

Syntax of if :

if (expression) 
{
   // statement(s) will execute if expression is true
}

Syntax of if…else :

if (expression) {
    // statement(s) will execute if expression is true
}
else {
    // statement(s) will execute if expression is false
}

Syntax of nested if…else :

if (expression1) 
{
   // statement(s) will execute if expression1 is true
}
else if(expression2) 
{
   // statement(s) will execute if expression1 is false and expression2 is true
}
else if (expression3) 
{
   // statement(s) will execute if expression1 and expression2 are false and expression3 is true
}
.
.
else 
{
   // statement(s) will execute if all expressions are false
}