C Workshop
InputLoop.h File Reference
#include <stdbool.h>

Go to the source code of this file.

Functions

void InputLoop ()
 Function that receives character input from the user and prints it in uppercase. More...
 
char ReadCharacter ()
 Read a character from the user. More...
 
void PrintUpperCase (char input)
 Print a character to the user in uppercase. More...
 
bool IsQ (char input)
 Check if a character is a 'Q' or 'q'. More...
 

Function Documentation

◆ InputLoop()

void InputLoop ( )

Function that receives character input from the user and prints it in uppercase.

The function terminates when the input is 'Q' or 'q'

Function that receives character input from the user and prints it in uppercase.

The function terminates when the input is 'Q' or 'q'

◆ IsQ()

bool IsQ ( char  input)

Check if a character is a 'Q' or 'q'.

Parameters
inputCharacter to check
Returns
true if the character is a 'Q' or 'q', false otherwise

◆ PrintUpperCase()

void PrintUpperCase ( char  input)

Print a character to the user in uppercase.

Parameters
inputThe character to print

◆ ReadCharacter()

char ReadCharacter ( )

Read a character from the user.

Returns
char The character read