Functions
printnum.c File Reference

You will modify this file and implement three functions. More...

#include <stdio.h>
#include "printnum.h"

Functions

char getDigit (int val)
 
void divRem (int numerator, int divisor, int *quotient, int *remainder)
 
void printNum (int x, int base)
 

Detailed Description

Your implementation of the functions defined in printnum.h.

Author
Your name goes here

Function Documentation

◆ divRem()

void divRem ( int  numerator,
int  divisor,
int *  quotient,
int *  remainder 
)
Todo:
Implement based on documentation contained in printnum.h

◆ getDigit()

char getDigit ( int  val)
Todo:
Implement based on documentation contained in printnum.h

◆ printNum()

void printNum ( int  x,
int  base 
)
Todo:
Implement based on documentation contained in printnum.h