Monday, 15 July 2019

Lecture - 16 Class and Component Level Design

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

Lecture - 15 Design Patterns

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

Lecture - 14 Software Design - Primary Consideration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Lecture -13 Production Quality Software - Introduction

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

Lecture-12 Data Modelling

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Thursday, 11 July 2019

Lecture - 11 Data Modelling - ER Diagrams, Mapping

                                                                                                                                            
                                                                                                                                           

lecture - 9 Process Modelling - DFD , Function Decomp

                                                                                                                                          
                                                                                                                                      
                                                                                                                                     

Lecture - 10 Process Modelling - DFD, Function Decomp

                                                                                                                                                                    
                                                                                                                                                           
                                              

Lecture - 8 Systems Modelling Overview

                                                                                                                                                                                                                                   
                                                       
                                                                    


Lecture - 7 Algebraic Specification Methods

                                                                                                                                                                 
                                                                                                                                  
                                                                                                            

Lecture - 6 Formal Specification

                                                                                                                                                                             
                                                                                                                                                   
                                                                                                                                     

Lecture -5 Requirements Engineering / Specification

                                                                                                                                                      
                                                                                                                                                       
                   

Lecture - 4 Overview of Phases

                                                                                                                                                                                                                                                                                             

Lecture-3 Overview of Phases

                                                                                                                                                                                                               
                                                                                                                                                                           

Wednesday, 10 July 2019

Lecture - 2 Introduction to Software Engineering

                                                                                                                                                       
                                                                                                                                                                

Lecture - 1 Introduction to Software Engineering

                                                                                                                                                                      
                                                                                                                                                                             

Wednesday, 3 July 2019

Program in C for multiplication table using while loop

Input :-


Output :-

Code :-


#include <stdio.h>
int main()
{
    int n,i=1;
    printf("Enter a number :");
    scanf("%d",&n);
    while (i<=10)
    {
        printf("%d * %d = %d \n", n, i, n*i);
i++;
    }
}


Tuesday, 2 July 2019

Print multiplication table in C

Print multiplication table in C

Input :-


 Output :-




Code :-


#include <stdio.h>
int main()
{
    int n, i;
    printf("Enter an integer: ");
    scanf("%d",&n);
    for(i=1; i<=10; ++i)
    {
        printf("%d * %d = %d \n", n, i, n*i);
    }

    return 0;
}
 





Monday, 1 July 2019

Program to calculate factorial of a number

Input :-







Output :-






Code :-

 #include <stdio.h>

    int main()
    {
      int c, n, fact = 1;

      printf("Enter a number \n");
      scanf("%d", &n);

      for (c = 1; c <= n; c++)
        fact = fact * c;

      printf("The factorial of %d is = %d\n", n, fact);

      return 0;
    }




Sunday, 30 June 2019

Program to check a Number is Negative or Positive

Input :-


Outputs : -








Code :- 


#include <stdio.h>
#include <stdlib.h>

int main()
{
    int a;

    printf("Enter a number : \n");
    scanf("%d", &a);
    if
        (a<0)
        printf("The number is negative\n");
    else if
        (a==0)
        printf("You Entered Zero\n");
    else
        printf("The number is positive\n");
    return 0;

}


Tuesday, 25 June 2019

To check a year is leap or not in C

To check a year is leap or not in C


Input :



Output : 







Code :

#include <stdio.h>

int main()
{
  int c;
  printf("Enter the year :\n");
  scanf("%d",&c);
{if ((c%4==0)&&(!(c%100==0)||(c%400==0)))
    printf("The year is a leap year\n");
    else
        printf("The year is not a leap year\n");
}
return 0;
}



















To check whether a number is divisible by 6 and 4

To check whether a number is divisible by 6 and 4

Input : 

Output : 



Code :

#include <stdio.h>

int main()
{
  int c;
  printf("Enter a number :\n");
  scanf("%d",&c);
{ if ((c%6==0) && (c%4==0))
    printf("The number is divisible by 6 and 4\n");
    else
        printf("The number is not divisible by 6 and 4\n");
}
return 0;
}

Monday, 24 June 2019

To Check whether a number is prime or not

To Check whether a number is prime or not

Input:-




Output:-

1)




2)






 Code:-

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int a,i,ans;

    printf("Enter a number : \n");
    scanf("%d",&a);
    for(i=2; i<=a/2;i++ )
        ans=a%i;

{


        if ( ans==0)


            printf("The number is not prime ");


        else
            printf("The number is  prime ");
    }

    return 0;
}































































Program to check divisibility by 5

Program to check divisibility by 5

Input: 


 Output:

 1)

 

 2)



Code:

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int a;

    printf("Enter a number : \n");
    scanf("%d",&a);
    {


        if ( a%5==0)


            printf("The number is divisible by 5  ");
        else
            printf("The number is not divisible by 5 ");
    }

    return 0;
}


















Sunday, 23 June 2019

Program to check a number is Even or Odd


Program to check a number is Even or Odd

Input :-























Output :- 

1)








2)









Code :- 

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int a;


    printf("Enter a number : \n");
    scanf("%d",&a);
  {

    if (a%2==0)
        printf("The number is even\n\n");
    else
        printf("The number is odd\n\n");
  }
    return 0;

}

Popular Posts

Categories

100 Python Programs for Beginner (49) AI (34) Android (24) AngularJS (1) Assembly Language (2) aws (17) Azure (7) BI (10) book (4) Books (173) C (77) C# (12) C++ (82) Course (67) Coursera (226) Cybersecurity (24) data management (11) Data Science (128) Data Strucures (8) Deep Learning (20) Django (14) Downloads (3) edx (2) Engineering (14) Excel (13) Factorial (1) Finance (6) flask (3) flutter (1) FPL (17) Google (34) Hadoop (3) HTML&CSS (47) IBM (25) IoT (1) IS (25) Java (93) Leet Code (4) Machine Learning (59) Meta (22) MICHIGAN (5) microsoft (4) Nvidia (3) Pandas (4) PHP (20) Projects (29) Python (929) Python Coding Challenge (351) Python Quiz (21) Python Tips (2) Questions (2) R (70) React (6) Scripting (1) security (3) Selenium Webdriver (3) Software (17) SQL (42) UX Research (1) web application (8) Web development (2) web scraping (2)

Followers

Person climbing a staircase. Learn Data Science from Scratch: online program with 21 courses