Skip to content
View ShreyaSamridhi's full-sized avatar
Block or Report

Block or report ShreyaSamridhi

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
ShreyaSamridhi/README.md
  • 👋 Hi, I’m @ShreyaSamridhi
  • 👀 I’m interested in ...
  • 🌱 I’m currently learning ...
  • 💞️ I’m looking to collaborate on ...
  • 📫 How to reach me ...

#include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h>

float main() {

float a,b,c,z,y,x,w; printf("Enter 1st number; "); scanf("%0.2f",&a); printf("Enter 2nd number; "); scanf("%0.2f",&b); printf("Enter the function you want to peform;\n 1.Press 1 for add\n 2.Press 2 for subtract\n 3.Press 3 for multiplication\n 4.Press 4 for division "); scanf("%0.2f",&c); z=a+b; y=a-b; x=a*b; w=a/b; if (c==1) {printf("The awnser is ;%0.2f",z);} if (c==2) {printf("The awnser is ;%0.2f",y); } if (c==3) {printf("The awnser is ;%0.2f",x); } if (c==4) {printf("The awnser is ;%0.02f",w); } }

Popular repositories

  1. ShreyaSamridhi ShreyaSamridhi Public

    Config files for my GitHub profile.