[go: up one dir, main page]

0% found this document useful (0 votes)
19 views52 pages

Week 0.1 - Assignments

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

Week 0.1 - Assignments

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

Assignments

1. Accept a char input from the user and display it on the console.

#include <stdio.h>

int main() {
char a;

printf("Enter a character: ");


scanf(" %c", &a);

printf("You entered: %c\n", a);

return 0;
}

2. Accept two inputs from the user and output its sum.

Variable Data Type

Number 1 Integer
Number 2 Float

Sum Float

#include <stdio.h>
int main() {
int number1;
float number2;
float sum;

printf("Enter an integer: ");


scanf("%d", &number1);

printf("Enter a float: ");


scanf("%f", &number2);

sum = (float)number1 + number2;


printf("Sum: %.2f\n", sum);
return 0;
}
3. Write a program to find the simple interest.

a. The program should accept 3 inputs from the user and calculate simple interest
for the given inputs. Formula: SI=(P*R*n)/100)

Variable Data Type

Principal amount (P) Integer

Interest rate (R) Float

Number of years (n) Float

Simple Interest (SI) Float

#include <stdio.h>

int main() {
int principalAmount;
float interestRate, numberOfYears, simpleInterest;

printf("Enter the principal amount: ");


scanf("%d", &principalAmount);

printf("Enter the interest rate (as a percentage): ");


scanf("%f", &interestRate);

printf("Enter the number of years: ");


scanf("%f", &numberOfYears);
simpleInterest = (principalAmount * interestRate * numberOfYears) / 100.0;
printf("Simple Interest: %.2f\n", simpleInterest);
return 0;
}

4. Write a program to check whether a student has passed or failed in a subject after
he or she enters their mark (pass mark for a subject is 50 out of 100).
a. The program should accept input from the user and output a message as
“Passed” or “Failed.”

Variable Data type

mark float

#include <stdio.h>
int main() {
float mark;
printf("Enter the student's mark (out of 100): ");
scanf("%f", &mark);
if (mark >= 50.0) {
printf("Passed\n");
} else {
printf("Failed\n");
}
return 0;
}

5. Write a program to show the grade obtained by a student after they enter their total
mark percentage.
a. The program should accept input from the user and display their grade as
follows

Mark Grade

> 90 A

80-89 B

70-79 C

60-69 D

50-59 E

< 50 Failed
Variable Data type

Total mark float

#include <stdio.h>
int main() {
float totalMark;

printf("Enter the student's total mark percentage: ");


scanf("%f", &totalMark);

char grade;

if (totalMark > 90) {


grade = 'A';
} else if (totalMark >= 80 && totalMark <= 89) {
grade = 'B';
} else if (totalMark >= 70 && totalMark <= 79) {
grade = 'C';
} else if (totalMark >= 60 && totalMark <= 69) {
grade = 'D';
} else if (totalMark >= 50 && totalMark <= 59) {
grade = 'E';
} else {
grade = 'Failed';
}

printf("Grade: %c\n", grade);

return 0;
}

6. Using the ‘switch case,’ write a program to accept an input number from the user
and output the day as follows.

Input Output

1 Sunday

2 Monday

3 Tuesday

4 Wednesday

5 Thursday

6 Friday

7 Saturday

Any other input Invalid Entry


#include <stdio.h>
int main() {
int input;
printf("Enter a number (1-7): ");
scanf("%d", &input);
switch (input) {
case 1:
printf("Sunday\n");
break;
case 2:
printf("Monday\n");
break;
case 3:
printf("Tuesday\n");
break;
case 4:
printf("Wednesday\n");
break;
case 5:
printf("Thursday\n");
break;
case 6:
printf("Friday\n");
break;
case 7:
printf("Saturday\n");
break;
default:
printf("Invalid Entry\n");
}
return 0;
}

7. Write a program to print the multiplication table of given numbers.


a. Accept input from the user and display its multiplication table

E.g.:

Output: Enter a number

Input: 5

Output:

1x5=5

2 x 5 = 10

3 x 5 = 15

4 x 5 = 20

5 x 5 = 25

6 x 5 = 30

7 x 5 = 35

8 x 5 = 40

9 x 5 = 45

10 x 5 = 50
#include <stdio.h>

int main() {
int num;

printf("Enter a number: ");


scanf("%d", &num);

printf("Multiplication table for %d:\n", num);

for (int i = 1; i <= 10; i++) {


printf("%d x %d = %d\n", i, num, i * num);
}

return 0;
}

8. Write a program to find the sum of all the odd numbers for a given limit
a. Program should accept an input as limit from the user and display the sum
of all the odd numbers within that limit

For example if the input limit is 10 then the result is 1+3+5+7+9 = 25

Output: Enter a limit

Input: 10

Output: Sum of odd numbers = 25

#include <stdio.h>

int main() {
int limit;
int sum = 0;
printf("Enter a limit: ");
scanf("%d", &limit);
for (int i = 1; i <= limit; i++) {
if (i % 2 != 0) {
sum += i;
}
}
printf("Sum of odd numbers = %d\n", sum);
return 0;
}
9. Write a program to print the following pattern (hint: use nested loop)

12

123

1234

12345

#include <stdio.h>
int main() {
int rows;
printf("Enter the number of rows: ");
scanf("%d", &rows);
for (int i = 1; i <= rows; i++) {
for (int j = 1; j <= i; j++) {
printf("%d ", j);
}
printf("\n");
}
return 0;
}
10. Write a program to interchange the values of two arrays.
a. Program should accept an array from the user, swap the values of two arrays
and display it on the console

Eg: Output: Enter the size of arrays

Input: 5

Output: Enter the values of Array 1

Input: 10, 20, 30, 40, 50

Output: Enter the values of Array 2

Input: 15, 25, 35, 45, 55

Output: Arrays after swapping:

Array1: 15, 25, 35, 45, 55

Array2: 10, 20, 30, 40, 50

#include <stdio.h>
int main() {
int size;
printf("Enter the size of arrays: ");
scanf("%d", &size);
int array1[size], array2[size];
printf("Enter the values of Array 1 (%d values): ", size);
for (int i = 0; i < size; i++) {
scanf("%d", &array1[i]);
}
printf("Enter the values of Array 2 (%d values): ", size);
for (int i = 0; i < size; i++) {
scanf("%d", &array2[i]);
}
for (int i = 0; i < size; i++) {
int temp = array1[i];
array1[i] = array2[i];
array2[i] = temp;
}
printf("Arrays after swapping:\n");
printf("Array 1: ");
for (int i = 0; i < size; i++) {
printf("%d", array1[i]);
if (i < size - 1) {
printf(", ");
}
}
printf("\nArray 2: ");
for (int i = 0; i < size; i++) {
printf("%d", array2[i]);
if (i < size - 1) {
printf(", ");
}
}
printf("\n");
return 0;
}

11. Write a program to find the number of even numbers in an array


a. The program should accept an array and display the number of even
numbers contained in that array

E.g.: Output: Enter the size of an array

Input: 5

Output: Enter the values of array

Input: 11, 20, 34, 50, 33

Output: Number of even numbers in the given array is 3

#include <stdio.h>
int main() {
int size, count = 0;

printf("Enter the size of an array: ");


scanf("%d", &size);

int arr[size];

printf("Enter the values of array: ");


for (int i = 0; i < size; i++) {
scanf("%d", &arr[i]);
}

for (int i = 0; i < size; i++) {


if (arr[i] % 2 == 0) {
count++;
}
}

printf("Number of even numbers in the given array is %d\n", count);

return 0;
}
12. Write a program to sort an array in descending order
a. Program should accept and array, sort the array values in descending order
and display it

Eg: Output: Enter the size of an array

Input: 5

Output: Enter the values of array

Input: 20, 10, 50, 30, 40

Output: Sorted array:

50, 40, 30, 20, 10

#include <stdio.h>

void swap(int *a, int *b) {


int temp = *a;
*a = *b;
*b = temp;
}

void sortDescending(int arr[], int size) {


for (int i = 0; i < size - 1; i++) {
for (int j = i + 1; j < size; j++) {
if (arr[i] < arr[j]) {
swap(&arr[i], &arr[j]);
}
}
}
}
int main() {
int size;

printf("Enter the size of an array: ");


scanf("%d", &size);

int arr[size];

printf("Enter the values of the array: ");


for (int i = 0; i < size; i++) {
scanf("%d", &arr[i]);
}

sortDescending(arr, size);

printf("Sorted array in descending order:\n");


for (int i = 0; i < size; i++) {
printf("%d", arr[i]);
if (i < size - 1) {
printf(", ");
}
}
printf("\n");

return 0;
}
13. Write a program to identify whether a string is a palindrome or not
a. A string is a palindrome if it reads the same backward or forward eg:
MALAYALAM

Program should accept a string and display whether the string is a


palindrome or not

Eg: Output: Enter a string

Input: MALAYALAM

Output: Entered string is a palindrome

Eg 2: Output: Enter a string

Input: HELLO

Output: Entered string is not a palindrome

#include <stdio.h>
#include <string.h>

int isPalindrome(char *str) {


int left = 0;
int right = strlen(str) - 1;

while (left < right) {


if (str[left] != str[right]) {
return 0;
}
left++;
right--;
}
return 1;
}

int main() {
char str[100];

printf("Enter a string: ");


scanf("%s", str);

if (isPalindrome(str)) {
printf("Entered string is a palindrome\n");
} else {
printf("Entered string is not a palindrome\n");
}

return 0;
}
14. Write a program to add to two dimensional arrays
a. Program should accept two 2D arrays and display its sum

Eg: Output: Enter the size of arrays

Input: 3

Output: Enter the values of array 1

Input:

123

456

789

Output: Enter the values of array 2

Input:

10 20 30

40 50 60

70 80 90

Output: Sum of 2 arrays is:

11 22 33

44 55 66
77 88 99

#include <stdio.h>

int main() {
int size;

printf("Enter the size of arrays: ");


scanf("%d", &size);

int array1[size][size];
int array2[size][size];
int sum[size][size];

printf("Enter the values of array 1:\n");


for (int i = 0; i < size; i++) {
for (int j = 0; j < size; j++) {
scanf("%d", &array1[i][j]);
}
}

printf("Enter the values of array 2:\n");


for (int i = 0; i < size; i++) {
for (int j = 0; j < size; j++) {
scanf("%d", &array2[i][j]);
}
}

for (int i = 0; i < size; i++) {


for (int j = 0; j < size; j++) {
sum[i][j] = array1[i][j] + array2[i][j];
}
}

printf("Sum of 2 arrays is:\n");


for (int i = 0; i < size; i++) {
for (int j = 0; j < size; j++) {
printf("%d ", sum[i][j]);
}
printf("\n");
}

return 0;
}

15. Write a program to accept an array and display it on the console using functions
a. Program should contain 3 functions including main() function
main()

1. Declare an array
2. Call function getArray()
3. Call function displayArray()

getArray()

1. Get values to the array

displayArray()

1. Display the array values

#include <stdio.h>

void getArray(int arr[], int size) {


printf("Enter %d values for the array:\n", size);
for (int i = 0; i < size; i++) {
scanf("%d", &arr[i]);
}
}

void displayArray(int arr[], int size) {


printf("Array values are:\n");
for (int i = 0; i < size; i++) {
printf("%d ", arr[i]);
}
printf("\n");
}

int main() {
int size;

printf("Enter the size of the array: ");


scanf("%d", &size);

int arr[size];

getArray(arr, size);
displayArray(arr, size);

return 0;
}

16. Write a java program to check whether a given number is prime or not
a. Program should accept an input from the user and display whether the
number is prime or not

Eg: Output: Enter a number

Input: 7

Output: Entered number is a Prime number

import java.util.Scanner;

public class PrimeChecker {


public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);

System.out.print("Enter a number: ");


int number = scanner.nextInt();

if (isPrime(number)) {
System.out.println("Entered number is a Prime number");
} else {
System.out.println("Entered number is not a Prime number");
}

scanner.close();
}

public static boolean isPrime(int num) {


if (num <= 1) {
return false;
}

if (num <= 3) {
return true;
}

if (num % 2 == 0 || num % 3 == 0) {
return false;
}

for (int i = 5; i * i <= num; i += 6) {


if (num % i == 0 || num % (i + 2) == 0) {
return false;
}
}

return true;
}
}

17. Write a menu driven java program to do the basic mathematical operations such as
addition, subtraction, multiplication and division (hint: use if else ladder or switch)
a. Program should have 4 functions named addition(), subtraction(),
multiplication() and division()
b. Should create a class object and call the appropriate function as user prefers
in the main function

import java.util.Scanner;

public class Calculator {


public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
Calculator calculator = new Calculator();

while (true) {
System.out.println("Menu:");
System.out.println("1. Addition");
System.out.println("2. Subtraction");
System.out.println("3. Multiplication");
System.out.println("4. Division");
System.out.println("5. Exit");
System.out.print("Enter your choice (1/2/3/4/5): ");

int choice = scanner.nextInt();

switch (choice) {
case 1:
calculator.addition();
break;
case 2:
calculator.subtraction();
break;
case 3:
calculator.multiplication();
break;
case 4:
calculator.division();
break;
case 5:
System.out.println("Exiting the program.");
scanner.close();
System.exit(0);
default:
System.out.println("Invalid choice. Please select a valid option.");
}
}
}
public void addition() {
Scanner scanner = new Scanner(System.in);
System.out.print("Enter the first number: ");
double num1 = scanner.nextDouble();
System.out.print("Enter the second number: ");
double num2 = scanner.nextDouble();
double result = num1 + num2;
System.out.println("Result: " + result);
}

public void subtraction() {


Scanner scanner = new Scanner(System.in);
System.out.print("Enter the first number: ");
double num1 = scanner.nextDouble();
System.out.print("Enter the second number: ");
double num2 = scanner.nextDouble();
double result = num1 - num2;
System.out.println("Result: " + result);
}

public void multiplication() {


Scanner scanner = new Scanner(System.in);
System.out.print("Enter the first number: ");
double num1 = scanner.nextDouble();
System.out.print("Enter the second number: ");
double num2 = scanner.nextDouble();
double result = num1 * num2;
System.out.println("Result: " + result);
}
public void division() {
Scanner scanner = new Scanner(System.in);
System.out.print("Enter the dividend: ");
double dividend = scanner.nextDouble();
System.out.print("Enter the divisor: ");
double divisor = scanner.nextDouble();

if (divisor == 0) {
System.out.println("Division by zero is not allowed.");
} else {
double result = dividend / divisor;
System.out.println("Result: " + result);
}
}
}
18. Grades are computed using a weighted average. Suppose that the written test
counts 70%, lab exams 20% and assignments 10%.

If Arun has a score of

Written test = 81

Lab exams = 68

Assignments = 92

Arun’s overall grade = (81x70)/100 + (68x20)/100 + (92x10)/100 = 79.5

Write a program to find the grade of a student during his academic year.
a. Program should accept the scores for written test, lab exams and
assignments
b. Output the grade of a student (using weighted average)

Eg:

Enter the marks scored by the students

Written test = 55

Lab exams = 73

Assignments = 87

Grade of the student is 61.8

import java.util.Scanner;

public class StudentGradeCalculator {


public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);

System.out.println("Enter the marks scored by the student:");


System.out.print("Written test = ");
double writtenTest = scanner.nextDouble();
System.out.print("Lab exams = ");
double labExams = scanner.nextDouble();
System.out.print("Assignments = ");
double assignments = scanner.nextDouble();

double weightedAverage = (writtenTest * 0.7) + (labExams * 0.2) + (assignments


* 0.1);
System.out.println("Grade of the student is " + weightedAverage);

scanner.close();
}
}

19. Income tax is calculated as per the following table

Annual Income Tax percentage

Up to 2.5 Lakhs No Tax

Above 2.5 Lakhs to 5 5%


Lakhs

Above 5 Lakhs to 10 20%


Lakhs

Above 10 Lakhs to 50 30%


Lakhs

Write a program to find out the income tax amount of a person.


a. Program should accept annual income of a person
Output the amount of tax he has to pay

Eg 1:
Enter the annual income
495000
Income tax amount = 24750.00

Eg 2:
Enter the annual income
500000
Income tax amount = 25000.00

import java.util.Scanner;

public class IncomeTaxCalculator {


public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);

System.out.print("Enter the annual income: ");


double annualIncome = scanner.nextDouble();

double taxAmount = calculateIncomeTax(annualIncome);

System.out.println("Income tax amount = " + String.format("%.2f", taxAmount));

scanner.close();
}

public static double calculateIncomeTax(double annualIncome) {


double taxAmount = 0.0;

if (annualIncome <= 250000) {


taxAmount = 0.0;
} else if (annualIncome <= 500000) {
taxAmount = (annualIncome - 250000) * 0.05;
} else if (annualIncome <= 1000000) {
taxAmount = 250000 * 0.05 + (annualIncome - 500000) * 0.20;
} else if (annualIncome > 1000000) {
taxAmount = 250000 * 0.05 + 500000 * 0.20 + (annualIncome - 1000000) *
0.30;
}

return taxAmount;
}
}

20. Write a program to print the following pattern using for loop

2 3

4 5 6

7 8 9 10
public class NumberPattern {
public static void main(String[] args) {
int n = 4;
int num = 1;

for (int i = 1; i <= n; i++) {


for (int j = 1; j <= i; j++) {
System.out.print(num + "\t");
num++;
}
System.out.println();
}
}
}

21. Write a program to multiply the adjacent values of an array and store it in an
another array
a. Program should accept an array
b. Multiply the adjacent values
c. Store the result into another array

Eg:

Enter the array limit

Enter the values of array

1 2 3 4 5

Output

2 6 12 20

import java.util.Scanner;

public class MultiplyAdjacentElements {


public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);

System.out.print("Enter the array limit: ");


int n = scanner.nextInt();

int[] inputArray = new int[n];


int[] resultArray = new int[n - 1];

System.out.println("Enter the values of the array:");


for (int i = 0; i < n; i++) {
inputArray[i] = scanner.nextInt();
}
for (int i = 0; i < n - 1; i++) {
resultArray[i] = inputArray[i] * inputArray[i + 1];
}

System.out.println("Output:");
for (int i = 0; i < n - 1; i++) {
System.out.print(resultArray[i] + "\t");
}

scanner.close();
}
}

22. Write a program to add the values of two 2D arrays


a. Program should contains 3 functions including the main function

main()

1. Call function getArray()


2. Call function addArray()
3. Call function displayArray()

getArray()

1. Get values to the array


getArray()

1. Add array 1 and array 2

displayArray()

1. Display the array values

Eg:

Enter the size of array

Enter the values of array 1

1 2

3 4

Enter the values of array 2

5 6

7 8

Output:

Sum of array 1 and array 2:

6 8

10 12

import java.util.Scanner;

public class AddTwo2DArrays {


public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);

System.out.print("Enter the size of the array: ");


int size = scanner.nextInt();

int[][] array1 = new int[size][size];


int[][] array2 = new int[size][size];
int[][] sumArray = new int[size][size];

System.out.println("Enter the values of array 1:");


getArray(scanner, array1);

System.out.println("Enter the values of array 2:");


getArray(scanner, array2);

addArray(array1, array2, sumArray);

System.out.println("Output:");
displayArray(sumArray);

scanner.close();
}

public static void getArray(Scanner scanner, int[][] array) {


for (int i = 0; i < array.length; i++) {
for (int j = 0; j < array[i].length; j++) {
array[i][j] = scanner.nextInt();
}
}
}

public static void addArray(int[][] array1, int[][] array2, int[][] resultArray) {


for (int i = 0; i < array1.length; i++) {
for (int j = 0; j < array1[i].length; j++) {
resultArray[i][j] = array1[i][j] + array2[i][j];
}
}
}

public static void displayArray(int[][] array) {


for (int i = 0; i < array.length; i++) {
for (int j = 0; j < array[i].length; j++) {
System.out.print(array[i][j] + "\t");
}
System.out.println();
}
}
}
23. Write an object oriented program in java to store and display the values of a 2D
array
a. Program should contains 3 functions including the main function

main()

1. Declare an array
2. Call function getArray()
3. Call function displayArray()

getArray()

1. Get values to the array

displayArray()

1. Display the array values

Eg:

Enter the size of array

Enter the array values

1 2 3

4 5 6

7 8 9

Array elements are:

1 2 3

4 5 6
7 8 9

import java.util.Scanner;

public class TwoDArray {


private int[][] array;
private int size;

public TwoDArray(int size) {


this.size = size;
this.array = new int[size][size];
}

public void getArray(Scanner scanner) {


System.out.println("Enter the values of the array:");
for (int i = 0; i < size; i++) {
for (int j = 0; j < size; j++) {
array[i][j] = scanner.nextInt();
}
}
}

public void displayArray() {


System.out.println("Array elements are:");
for (int i = 0; i < size; i++) {
for (int j = 0; j < size; j++) {
System.out.print(array[i][j] + "\t");
}
System.out.println();
}
}

public static void main(String[] args) {


Scanner scanner = new Scanner(System.in);

System.out.print("Enter the size of the array: ");


int size = scanner.nextInt();

TwoDArray arrayObj = new TwoDArray(size);

arrayObj.getArray(scanner);
arrayObj.displayArray();

scanner.close();
}
}

24. Write a menu driven program in java to calculate the area of a given object.
a. Program should contain two classes
i. Class 1: MyClass
ii. Class 2: Area
b. Class MyClass should inherit class Area and should contain the following
functions
i. main()
ii. circle()
iii. square()
iv. rectangle()
v. triangle()
c. Class Area should contain the following functions to calculate the area of
different objects
i. circle()
ii. square()
iii. rectangle()
iv. triangle()

Class MyClass extends Area{

public static void main(string args[]){

circle() {

square() {

rectangle() {

}
triangle() {

Class Area{

circle(){

square(){

rectangle() {

triangle() {

Eg 1:

Enter your choice

1. Circle
2. Square
3. Rectangle
4. Triangle
2

Enter the length

Output

Area of the square is: 4

Eg 2:

Enter your choice

1. Circle
2. Square
3. Rectangle
4. Triangle

Enter the radius

Output

Area of the circle is: 28.26

#include <stdio.h>
#include <math.h>

double circle(double radius) {


return M_PI * radius * radius;
}

double square(double side) {


return side * side;
}

double rectangle(double length, double width) {


return length * width;
}

double triangle(double base, double height) {


return 0.5 * base * height;
}

int main() {
int choice;
do {
printf("Enter your choice:\n");
printf("1. Circle\n");
printf("2. Square\n");
printf("3. Rectangle\n");
printf("4. Triangle\n");
printf("5. Exit\n");
scanf("%d", &choice);

switch (choice) {
case 1:
printf("Enter the radius: ");
double radius;
scanf("%lf", &radius);
double circleArea = circle(radius);
printf("Area of the circle is: %lf\n", circleArea);
break;
case 2:
printf("Enter the side length: ");
double side;
scanf("%lf", &side);
double squareArea = square(side);
printf("Area of the square is: %lf\n", squareArea);
break;
case 3:
printf("Enter the length: ");
double length;
scanf("%lf", &length);
printf("Enter the width: ");
double width;
scanf("%lf", &width);
double rectangleArea = rectangle(length, width);
printf("Area of the rectangle is: %lf\n", rectangleArea);
break;
case 4:
printf("Enter the base length: ");
double base;
scanf("%lf", &base);
printf("Enter the height: ");
double height;
scanf("%lf", &height);
double triangleArea = triangle(base, height);
printf("Area of the triangle is: %lf\n", triangleArea);
break;
case 5:
printf("Exiting the program.\n");
break;
default:
printf("Invalid choice. Please enter a valid option.\n");
}
} while (choice != 5);

return 0;
}

25. Write a program to skip two elements after the occurrence of an odd number and
print the array elements in the following pattern

**
*
*
*
****
*
*
*
*
*
*
******

#include <stdio.h>

int main() {
int i = 1, j = 2, k = 1;

while (k <= 3) {
for (int x = 0; x < i; x++) {
if (x == (i - 1)) {
for (int y = 0; y < j; y++) {
printf("* ");
}
} else {
printf("* ");
}
printf("\n");
}
i += 3;
j += 2;
k++;
}

return 0;
}

You might also like