第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

找不到符號是什么

找不到符號是什么

慕粉1930084106 2017-03-18 09:41:09
import java.util.Scanner;public class WUYU {?public static void main(String[] args) ?{??Scanner scan = new Scanner(System.in);??System.out.print("請輸入小明的成績:");???int score =scan.nextint();???if(score<0? ||? score>100){???System.out.println("輸入信息有誤");??}else{???if(score==100){???System.out.println("獎勵一個車");??? }else if(score >=80? &&? score<99){??? System.out.println("獎勵一部手機");???}else if(score>=60? && score<80){???? System.out.println("一本參考書");????? }else{????? System.out.println("什么獎勵也沒有");????????????????????? }?? }?}}
查看完整描述

1 回答

已采納
?
夢影劍魂

TA貢獻66條經(jīng)驗 獲得超21個贊

? int score =scan.nextint();這行出錯,應該是nextInt(),中間的i大寫

查看完整回答
反對 回復 2017-03-18
  • 1 回答
  • 0 關注
  • 1173 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網(wǎng)微信公眾號