#include <stdio.h> int main() { char ch; do{ printf ("\nDesea salir (s/n): "); scanf ("%c",&ch); }while (ch!='s' && ch!='S'); return 0; }