+ 7
Write a program that asks the user for his salary and adds a 25% bouns
the program should print the final salary after adding the computed 25% bouns.
7 Respuestas
+ 8
https://code.sololearn.com/c4QPoE47Tkj2/?ref=app
+ 7
@Warith I think the answer was asked in C++.
#include <iostream>
using namespace std;
int main() {
double a;
cin>>a;
double b = a + 0.25*a;
cout<<b;
return 0;
}
+ 6
This is my first program in C++
https://code.sololearn.com/ccFwAUMVN4Se/?ref=app
+ 5
#include <iostream>
using namespace std;
int main()
{
double salary;
cout<<"please enter the base salary";
cin>>salary;
cout<<"your final salary is:"<<salary+salary*0.25;
return 0;
}
0
#include <iostream>
using namespace std;
int main() {
double a;
cin>>a;
double b = a + 0.25*a;
cout<<b;
return 0;
}
answer in c++