#include <stdio.h>
int main(void){
float salary;
printf("/aEnter your desired monthly salary:");/* 1 */
printf(" $_______/b/b/b/b/b/b/b"); /* 2 */
scanf("%f", &salary);
printf("/n/t$%.2f a month is $%.2f a year.", salary,
salary * 12.0); /* 3 */
printf("/rHi!/n"); /* 4 */
return 0;
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266660.html