Skip to content

Instantly share code, notes, and snippets.

@IsaacHatilima
Last active October 25, 2022 18:27
Show Gist options
  • Save IsaacHatilima/ee73b956c0200313969965922f9d784c to your computer and use it in GitHub Desktop.
Save IsaacHatilima/ee73b956c0200313969965922f9d784c to your computer and use it in GitHub Desktop.
#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