/ Published in: Java

NapiÅ¡te program, který vybere nejvyššà ze třà ÄÃsel.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
package sbirka.uloh; import java.util.Scanner; public class CviceniÂ2{ int pomocna = 0; for(int i = 0; i < 3; i++){ int a = sc.nextInt(); if(a > pomocna){ pomocna = a; } } } }
Comments
