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

C Prog Lab 1

This document outlines a lab assignment for Embedded C Programming, detailing tasks for a student named Tadi Venkata Akshay. The assignment includes displaying student grades based on marks, checking if a three-digit number is an Armstrong number, finding common elements in two integer arrays, and counting vowels in the student's first name. Each task requires the student to write code and provide output for the specified operations.

Uploaded by

akshay95811
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)
6 views5 pages

C Prog Lab 1

This document outlines a lab assignment for Embedded C Programming, detailing tasks for a student named Tadi Venkata Akshay. The assignment includes displaying student grades based on marks, checking if a three-digit number is an Armstrong number, finding common elements in two integer arrays, and counting vowels in the student's first name. Each task requires the student to write code and provide output for the specified operations.

Uploaded by

akshay95811
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

Embedded C Programming (BECE320E)

Lab Assignment – 1

Name : TADI VENKATA AKSHAY


Reg No : 22BML0037
Slot : L13+L14

1. Display the grade of a student based on the marks. The grades are given
as follows
Marks >=90 - S grade
Marks 80 to 89 - A grade
Marks 70 to 79 - B grade
Marks 60 to 69 - C grade
Marks 55 to 59 - D grade
Marks 50 to 54 - E grade
Marks < 50 - F grade
If last two digits of your registration number represents your mark, then what is
your grade
code:

Output:
2. Write a program to find a three digit number is an Armstrong number or not.
Check whether, the last three digits of your registration number makes an
Armstrong number or not.

Code:

Output:
3. Write a program to find and print common elements of two integer arrays.
Code:

Output:
4. Write a program to find number of vowels present in your first name. Your
name can be entered as a string.

Code:

Output:

You might also like