0% found this document useful (0 votes)
11 views5 pages

PPS Lab Programs Part1

Helpful

Uploaded by

shreejapatel2512
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views5 pages

PPS Lab Programs Part1

Helpful

Uploaded by

shreejapatel2512
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

PPS Lab Programs - C Code and Flowcharts

1. C Hello World Program

// 1. C Hello World Program

#include <stdio.h>

int main() {

// Your code here

return 0;

Flowchart for 1. C Hello World Program:

- Start

- Input/Output (as required)

- Process logic

- End

2. C Program to Print Your Own Name

// 2. C Program to Print Your Own Name

#include <stdio.h>

int main() {

// Your code here

return 0;

Flowchart for 2. C Program to Print Your Own Name:

- Start

- Input/Output (as required)

- Process logic

- End

3. C Program to Add Two Numbers


// 3. C Program to Add Two Numbers

#include <stdio.h>

int main() {

// Your code here

return 0;

Flowchart for 3. C Program to Add Two Numbers:

- Start

- Input/Output (as required)

- Process logic

- End

4. C Program to Swap Two Numbers

// 4. C Program to Swap Two Numbers

#include <stdio.h>

int main() {

// Your code here

return 0;

Flowchart for 4. C Program to Swap Two Numbers:

- Start

- Input/Output (as required)

- Process logic

- End

5. C Program to Find Simple Interest

// 5. C Program to Find Simple Interest

#include <stdio.h>

int main() {
// Your code here

return 0;

Flowchart for 5. C Program to Find Simple Interest:

- Start

- Input/Output (as required)

- Process logic

- End

6. C Program to Find Compound Interest

// 6. C Program to Find Compound Interest

#include <stdio.h>

int main() {

// Your code here

return 0;

Flowchart for 6. C Program to Find Compound Interest:

- Start

- Input/Output (as required)

- Process logic

- End

7. C Program to Check Whether a Number is Positive, Negative or Zero

// 7. C Program to Check Whether a Number is Positive, Negative or Zero

#include <stdio.h>

int main() {

// Your code here

return 0;

Flowchart for 7. C Program to Check Whether a Number is Positive, Negative or Zero:


- Start

- Input/Output (as required)

- Process logic

- End

8. C Program to Check Whether Number is Even or Odd

// 8. C Program to Check Whether Number is Even or Odd

#include <stdio.h>

int main() {

// Your code here

return 0;

Flowchart for 8. C Program to Check Whether Number is Even or Odd:

- Start

- Input/Output (as required)

- Process logic

- End

9. C Program to Find Largest Number Among Three Numbers

// 9. C Program to Find Largest Number Among Three Numbers

#include <stdio.h>

int main() {

// Your code here

return 0;

Flowchart for 9. C Program to Find Largest Number Among Three Numbers:

- Start

- Input/Output (as required)

- Process logic

- End
10. C Program to Check Leap Year

// 10. C Program to Check Leap Year

#include <stdio.h>

int main() {

// Your code here

return 0;

Flowchart for 10. C Program to Check Leap Year:

- Start

- Input/Output (as required)

- Process logic

- End

You might also like