Last active
October 25, 2022 18:27
-
-
Save IsaacHatilima/ee73b956c0200313969965922f9d784c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include<math.h> | |
int main() | |
{ | |
double k, g, sinval; | |
printf("Student First Name: Chileshe\n"); | |
printf("Student Last Name: Chifumbano\n"); | |
printf("Student Student Number: 202005131\n"); | |
printf("Enter Two Numbers:\n"); | |
scanf("%lf %lf", &k, &g); | |
sinval = (k + g) / sin(80); | |
printf("The answer is: %.3lf\n",sinval); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment