I'd imagine anything is possible with a bit of effort.
Give it a try and post your code if you get stuck.Code:#include <stdio.h> int main(void) { // declare variables // show prompt(s) // receive and validate input // compare input and assign output // show output return 0; }