Computer Science, asked by chowdamma7842, 9 months ago

a sales man gets a commision of 5%on below 5000 and gets a commision of 8%on above 5000 together with rs 250 wite a c program logic​

Answers

Answered by rishavsharma21pd1prg
3

Answer:

i do'nt know c language i am writing in c++ language

Explanation:

# include<iostream.h>

main()

{

int a

cout<<"Enter sale ";

cin>>a;

if a<5000

{

a+=(5*100)/a

}

else

{

a+=(8*100)/a+250

}

   

Similar questions