2
Guys, I don’t even know if that’s the question I have to be sure about, but come on... I want to get the following output: "V V V V!".
First I created a simple algorithm just to simulate the output, no exclamation mark at the end of output:
public static void main(String[] args){
int N, i;
Scanner ler = new Scanner(System.in);
N = ler.nextInt();
for(i = 0; i < N; i++){
System.out.print("V ");
}
}
Can someone help me and give me a hint how to make that exclamation mark at the end of the exit? From now on, thank you very much!
Thank you! Both solutions worked very well! I used the second one. See you more!
– Van Ribeiro