Question: // Headers #include #include using namespace std; // Global variables // Function declarations unsigned long long int max(unsigned long long int a, unsigned long long

// Headers

#include

#include

using namespace std;

// Global variables

// Function declarations

unsigned long long int max(unsigned long long int a, unsigned long long int b);

int main()

{

// Your code goes here

unsigned long long int a, b;

// Make sure we place the end message on a new line

printf("enter a integers ");

scanf("%Uu",&a);

printf("enter another integers ");

scanf("%Uu",&b);

max(a,b);

cout << endl;

return 0;

}

unsigned long long int max( unsigned long long int a, unsigned long long int b)

{

if (a>b)

{

printf("%Uu is greater ",a);

}

else if(b>a)

{

printf("%Uu is greater ",b);

}

}

I can't get this working properly in C code the first printf scanf works fine but i can't get the rest working. simple porgrom im just trying to learn the printf and scan f funtions. this needs to be done in C!!! not C++

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!