PLEASE HELP ME TO MAKE A CODE FOR THIS HUHU CANT ENTER THE LAB IF DONT HAVE CODES!

each salesperson earns a regular weekly pay of 1000 dollar moreover if the salespersons total weekly sales exceed 5000 dollar a commission of 9.8% is earned on sales otherwise the commission is flat 250 dollar construct c program to compute the weekly commission and gross pay and print the regular pay, weekly sales,weekly commission and the weekly gross pay.