Skip to content

Instantly share code, notes, and snippets.

@Nashtic
Created March 6, 2020 18:26
Show Gist options
  • Save Nashtic/de0ba49aadc64b551d80ffcdd67e28ad to your computer and use it in GitHub Desktop.
Save Nashtic/de0ba49aadc64b551d80ffcdd67e28ad to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
int main() {
int veri1, veri2;
float veri3, veri4;
scanf("%d",&veri1);
scanf("%d",&veri2);
scanf("%f",&veri3);
scanf("%f",&veri4);
printf("%d",veri1+veri2); printf(" "); printf("%d\n",veri1-veri2);
printf("%f",veri3+veri4); printf(" "); printf("%f", veri3-veri4);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment