Q4.txt

  • Uploaded by: faseeh saleem
  • 0
  • 0
  • August 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Q4.txt as PDF for free.

More details

  • Words: 48
  • Pages: 1
#include <stdio.h> #include <math.h> gdistance(int a1,int a2,int b1,int b2); int main() {

float x1, y1, x2, y2;

printf("Input x1: "); scanf("%f", &x1); printf("Input y1: "); scanf("%f", &y1); printf("Input x2: "); scanf("%f", &x2); printf("Input y2: "); scanf("%f", &y2); printf("Distance between the said points: %.4f",gdistance(x1,x2,y1,y2)); ; printf("\n"); return 0; }

More Documents from "faseeh saleem"

Front Page Ass 2
August 2019 17
Q4 Q5
August 2019 17
Q3 And Q4.pdf
August 2019 15
Q4
August 2019 26
Q4.txt
August 2019 18