Questions tagged as 'case'

2
answers

When I execute the commands in the Switch Case, does it quit instead of returning to the Menu?

int main(){ int tensao, corrente, resistencia, potencia, tempo, cargaeletrica, trabalho, i; printf("\nPara calculo de Tensao(resistencia*corrente) digite 1\n\nPara calculo de Potencia(tensao*corrente) digite 2\n\nPara calculo de Corrente...
asked by 22.08.2018 / 16:12
1
answer

insert data with ajax and switch in php [closed]

I have a php script that I use GET to get a url parameter and switch to a switch php and run a particular function. This script works perfectly without any errors but how to use it with ajax ?? When I call ajax with url...
asked by 22.02.2017 / 05:02
2
answers

Error in "break" in C ++ code prevents compilation [closed]

Follow the code below: #include <iostream> using namespace std; int main() { float n1, n2; int s; float resul; cout << "Digite um número para começar" << endl; cin >> n1; cout << "Vc que...
asked by 11.03.2018 / 21:58