I am making a radio program for one of my classes. It has to have a working clock, go from am, fm, aux, to mp3. AM frequency (530 kHz-1610kHz, going up by 10kHz), FM frequency (88.1Mhz-180Mhz, going up by 100kHz). I keep getting a weird number for my volume when I turn the radio on if you can fix this it would be very greatly appreciated. And my frequency wont work. PLS fix!!!!!!!!!!
#include <stdio.h>
#include <stdlib.h> //All the file librabries that are needed for this assignment
#include <conio.h>
#include <iostream>
#include <ctype.h>
void main (){
cRadio rad;
while(true){
switch(tolower(_getch())){
case ' ':
rad.powerbutton();
break;
case 'i':
rad.setmode();
break;
case 'u':
rad.volumeup();
break;
case 'd':
rad.volumedown();
break;
case 'm':
rad.mutevol();
break;
case 'g':
rad.frequp();
break;
case 'h':
rad.freqdown();
break;
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.