Computer Science, asked by 46mishra, 1 month ago

please solve this 2 number sums guys​

Attachments:

Answers

Answered by Shahilsamanta
0

Answer:

Write a C program to input cost price and selling price of a product and check profit or loss. Also calculate total profit or loss using if else. How to calculate profit or loss on any product using if else in C programming. Program to calculate profit and loss of any product in C.

Explanation:

I have solved no 2 not no 1

Answered by NiyaSurve
8

Answer:

1]public static void main(String[] args)

int num1 =1.1;

int num2 =2.2;

int num3 =3.3;

int num4 =4.4;

int num5 =5.5;

sum =num1+num2+num3+num4+num5;

System.out.println("five decimal numbers is: "+sum);

Similar questions
Math, 7 months ago