Write a computer program using the C Language which reads any base-10 number from the standard input (keyboard) and writes its binary and hexadecimal representation to the standard output (monitor).
this is what I have and I am super confused and need help please. and I have to create this in Visual Studio so please help me get through it please.
#include "stdafx.h"
#include "iostream"
#include "stdio.h"
#define n 10;
int size = 10;
int foo (int, double);
using namespace std;
int main (int argc, char* argv [])
{
int x = 10; // this defines variable x of type int and assigns 10 as the initial value.
printf ("The value is % d and the address is % x\n", x, & x);
cout << "Enter an integer:";
int n;
cin`Inline Code Example Here`