herrDeng網內搜尋

自訂搜尋

Ads

2013年9月23日 星期一

寫一個是否上學期成績2/3的程式

寫一個是否上學期成績2/3的程式

50 則留言:

B10133048 饒家華 提到...

package go;

public class CS {

public static void main(String[] args) {
int a[]={95,95,94,92,90,88,87,82,76,74,64};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i<a.length; i++)
if(a[i]<60)
fail=fail+b[i];
if(3*fail>=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133002 謝佩紋 提到...

package ab;

public class ex1 {

public static void main(String[] args) {
int a[]={71,73,73,75,75,77,86,86,90,93,95};
int b[]={2,3,3,2,0,0,2,2,3,3,0};
int total=20;
int fail=0;
for(int i=0; i<a.length; i++)
if(a[i]<60)
fail=fail+b[i];
if(3*fail>=2*total) {
System.out.println("學期成績:2/3");
}
else{
System.out.println("學期成績:all pass");




}
}

}

B10133025 王柏文 提到...

package GO;

public class 123 {

public static void main(String[] args) {
int a[]={95,95,94,92,90,88,87,82,76,74,64};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133014 吳欣怡 提到...

public class ex1 {

public static void main(String[] args) {
int a[]={84,92,89,77,97,99,91,92,70,79,89,73};
int b[]={0,2,2,2,0,3,3,3,3,2,0,0};
int total=20;
int fail=0;
for(int i=0; i<a.length; i++)
if(a[i]<60)
fail=fail+b[i];
if(3*fail>=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133021 吳屹軒 提到...

package go;

public class CS {

public static void main(String[] args) {
int a[]={95,95,94,92,90,88,87,82,76,74,64};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i<a.length; i++)
if(a[i]<60)
fail=fail+b[i];
if(3*fail>=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B9933137 黃宇儂 提到...

package B1;

public class h1 {

public static void main(String[] args) {
int a[]={95,95,94,92,90,88,87,82,76,74,64};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133053 古聿穎 提到...

package score;

public class sc {

public static void main(String[] args) {
int a[]={97,92,93,90,95,81,86,73,74,68,77};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i<a.length; i++)
if(a[i]<60)
fail=fail+b[i];
if(3*fail>=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133053 古聿穎 提到...

package score;

public class sc {

public static void main(String[] args) {
int a[]={97,92,93,90,95,81,86,73,74,68,74};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i<a.length; i++)
if(a[i]<60)
fail=fail+b[i];
if(3*fail>=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133053 古聿穎 提到...

package score;

public class sc {

public static void main(String[] args) {
int a[]={97,92,93,90,95,81,86,73,74,68,74};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i<a.length; i++)
if(a[i]<60)
fail=fail+b[i];
if(3*fail>=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133053 古聿穎 提到...

package score;

public class sc {

public static void main(String[] args) {
int a[]={97,92,93,90,95,81,86,73,74,68,74};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i<a.length; i++)
if(a[i]<60)
fail=fail+b[i];
if(3*fail>=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133053 古聿穎 提到...

package score;

public class sc {

public static void main(String[] args) {
int a[]={97,92,93,90,95,81,86,73,74,68,74};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133053 古聿穎 提到...

package score;

public class sc {

public static void main(String[] args) {
int a[]={97,92,93,90,95,81,86,73,74,68,74};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i<a.length; i++)
if(a[i]<60)
fail=fail+b[i];
if(3*fail>=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133053 古聿穎 提到...

package score;

public class sc {

public static void main(String[] args) {
int a[]={97,92,93,90,95,81,86,73,74,68,74};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i<a.length; i++)
if(a[i]<60)
fail=fail+b[i];
if(3*fail>=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133013 林子恩 提到...

package no;

public class scc {

public static void main(String[] args) {
int a[]={82,89,79,77,93,92,78,89,72,70,73,81};
int b[]={0,2,2,2,0,3,3,3,3,2,0,0};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133051張丞緯 提到...

package score ;
public class ak1 {

public static void main(String[] args) {
int a[]={84,84,80,73,93,91,89,96,74,66,91,84};
int b[]={0,2,2,2,0,3,3,3,3,2,0,0};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: 歐趴");
}
}
}

B10133174 蔡翔宇 提到...

package ex0923;

public class Hw0923 {

int a[]={62,24,78,75,84,68,64,79,75,81};
int b[]={4,3,1,2,2,2,2,2,0,0};
int T=18;
int F=0;{
for ( int i=0; i=2*T);{
System.out.println("成績:2/3");}
else{
System.out.println("成績:All Pass");
}
}
}

B10133042沈俞宜 提到...

package ket;

public class CS {

public static void main(String[] args) {
int a[]={95,95,94,92,90,88,87,82,76,74,64};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133047鄭兆珊 提到...

package san;

public class CS {

public static void main(String[] args) {
int a[]={95,95,94,92,90,88,87,82,76,74,64};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133033呂之筠 提到...

package wie;

public class CS {

public static void main(String[] args) {
int a[]={95,95,94,92,90,88,87,82,76,74,64};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133018翁湘姿 提到...

package go;

public class CS {

public static void main(String[] args) {
int a[]={65,90,83,91,87,88,60,66,76,70,66};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133011 黃怡蓁 提到...

public class abc {
public static void main(String[] args) {
int a[]={68,73,76,78,81,88,88,92,95,95,99};
int b[]={3,0,2,0,2,2,3,2,0,3,3};
int total=20;
int fail=0;
for (int i=0; i<a.length; i++){
if (a[i]<60)
fail=fail+b[i];
if(3*fail>=2*total){
System.out.println("學期成績:2/3");
}
else{
System.out.println("學期成績:All pass");
}
}

}

}

B10133031 邱敏惠 提到...

public class abc {

public static void main(String[] args) {
int a[]={90,78,87,60,86,92,62,82,81,61,80};
int b[]={0,2,2,2,0,3,3,3,3,2,0};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133009 王韋翔 提到...

public class test5
{
public static void main(String[] args)
{
int a[]={84,96,83,77,85,97,99,91,73,63,89,85};
int b[]={0,2,2,2,0,3,3,3,3,2,0,0};
int total=20;
int x=0;
for(int i=0;i<a.length;i++)
{
if(a[i]<60)
{
x=x+b[i];
}
}
if(x*3>=total*2)
System.out.print("此學期學分有2/3沒過");
else
{
System.out.print("此學期為all pass");
}

}
}

B10133036孫翊玲 提到...

public class aa {
public static void main(String[] args) {
int a[]={91,87,84,89,90,91,82,73,75,91,74};
int b[]={0,2,2,2,0,3,3,3,3,2};
int total=20;
int fail=0;
for(int i=0; i<a.length; i++)
if(a[i]<60)
fail=fail+b[i];
if(3*fail>=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}
}
}

b10133045林玹安 提到...

public class apple{

public static void main(String[] args) {

int a[]={86,82,80,66,70,97,89,74,82,60,80,88};
int b[]={0,2,2,2,0,3,3,3,3,2,0,0};
int total=20;
int fail=0;
for(int i=0; i<a.length; i++)
if(a[i]<60)
fail+=fail+b[i];
if(3*fail>=2*total) {
System.out.println("學期成績: 2/3不及格");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133046邱誌寬 提到...

public static void main(String[] args) {

int a[]={90,72,60,47,83,98,78,97,96,67,75,68};
int b[]={0,2,2,2,0,3,3,3,3,2,0,0};
int jg=20;
int top=0;
for(int i=0; i<a.length; i++)
if(a[i]<60)
top+=top+b[i];
if(3*top>=2*jg) {
System.out.println("學期成績: 2/3不及格");
}
else{
System.out.println("學期成績: pass");
}

}

}

B10133016王致翔 提到...

public class karmaa
{

public static void main(String[] args)
{

int a[]={90,90,83,60,95,93,75,74,73,61,84,79};
int b[]={0,2,2,2,0,3,3,3,3,2,0,0};
int total=20;
int fail=0;
for(int i=0; i<a.length; i++)
if(a[i]<60)
fail+=fail+b[i];
if(3*fail>=2*total)
{
System.out.println("學期成績: 2/3不及格");
}
else{
System.out.println("學期成績: all pass");
}
}
}

b10133023徐顥 提到...

public class sam{

public static void main(String[] args) {

int a[]={90,84,82,97,84,100,70,80,66,99,85,82};
int b[]={0,2,2,2,0,3,3,3,3,2,0,0};
int total=20;
int fail=0;
for(int i=0; i<a.length; i++)
if(a[i]<60)
fail+=fail+b[i];
if(3*fail>=2*total) {
System.out.println("學期成績: 2/3不及格");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133038池侑承 提到...

package 1;

public class awing {

public static void main(String[] args) {
int a[]={67,77,76,60,60,90,60,85,75,60,84,77};
int b[]={0,2,2,2,0,3,3,3,3,2,0,0};
int total=20;
int fail=0;
for(int i=0; i<a.length; i++)
if(a[i]<60)
fail=fail+b[i];
if(3*fail>=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B9933029江軒澔 提到...

package score;

public class sc {

public static void main(String[] args) {
int a[]={97,92,93,90,95,81,86,73,74,68,74};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

b10033185邱詩婕 提到...

public class b10033185{

public static void main(String[] args) {

int a[]={90,84,82,97,84,100,70,80,66,99,85,82};
int b[]={0,2,2,2,0,3,3,3,3,2,0,0};
int total=20;
int fail=0;
for(int i=0; i<a.length; i++)
if(a[i]<60)
fail+=fail+b[i];
if(3*fail>=2*total) {
System.out.println("學期成績: 2/3不及格");
}
else{
System.out.println("學期成績: 未不及格;);
}

}

}

b10133023徐顥 提到...

public class sam{

public static void main(String[] args) {

int a[]={90,84,82,97,84,100,70,80,66,99,85,82};
int b[]={0,2,2,2,0,3,3,3,3,2,0,0};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績: 2/3不及格");
}
else{
System.out.println("學期成績: 未不及格");
}

}

}

B10133050張珈祥 提到...

public class yoyo {

public static void main(String[] args) {
int a[]={95,95,94,92,90,88,87,82,76,74,64};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績及學期分數達2/3");
}
else{
System.out.println("學期成績及學期分數未達2/3");
}

}

}

B10133002 謝佩紋 提到...

package ab;

public class ex1 {

public static void main(String[] args) {
int a[]={71,73,73,75,75,77,86,86,90,93,95};
int b[]={2,3,3,2,0,0,2,2,3,3,0};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績不及格學分數達2/3");
}
else{
System.out.println("學期成績不及格學分數未達2/3");




}
}

}

B10133036孫翊玲 提到...

public class aa{

public static void main(String[] args) {

int a[]={91,87,84,89,90,91,82,73,75,91,74};
int b[]={0,2,2,2,0,3,3,3,3,2,0,0};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績: 2/3不及格");
}
else{
System.out.println("學期成績: 及格");
}

}

}

B10133009王韋翔 提到...

public class test5
{
public static void main(String[] args)
{
int a[]={84,96,83,77,85,97,99,91,73,63,89,85};
int b[]={0,2,2,2,0,3,3,3,3,2,0,0};
int total=20;
int x=0;
for(int i=0;i=total*2)
System.out.print("此學期學分有2/3沒過");
else
{
System.out.print("學期成績及學期分數未達2/3");
}

}
}

B10133014 吳欣怡 提到...

public class ex1 {

public static void main(String[] args) {
int a[]={84,92,89,77,97,99,91,92,70,79,89,73};
int b[]={0,2,2,2,0,3,3,3,3,2,0,0};
int total=20;
int fail=0;
for(int i=0; i<a.length; i++)
if(a[i]<60)
fail=fail+b[i];
if(3*fail>=2*total) {
System.out.println("學期成績不及格學分數達2/3");
}
else{
System.out.println("學期成績不及格學分數未達2/3");
}

}

}

B10133048 饒家華 提到...

public class CS {

public static void main(String[] args) {
int a[]={95,95,94,92,90,88,87,82,76,74,64};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i<a.length; i++)
if(a[i]<60)
fail+=fail+b[i];
if(3*fail>=2*total) {
System.out.println("學期成績:不及格學分數達2/3");
}
else{
System.out.println("學期成績:不及格學分數未達2/3");

}

}

}

B10133040 溫翊惠 提到...

public class xx
{

public static void main(String[] args)
{

int a[]={80,90,90,60,80,94,70,60,80,60,80,75};
int b[]={0,2,2,2,0,3,3,3,3,2,0,0};
int total=20;
int fail=0;
for(int i=0; i=2*total)
{
System.out.println("學期成績: 2/3不及格");
}
else{
System.out.println("學期成績:pass");
}
}
}

B10133030林潔如 提到...

public class EX1 {

public static void main(String[] args) {
int a[]={98,95,83,92,70,60,87,82,76,74,64};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績:不及格學分數達2/3");
}
else{
System.out.println("學期成績:不及格學分數未達2/3");

}

}

}

B10133034石嘉萱 提到...

public class aa{

public static void main(String[] args) {

int a[]={91,87,84,89,90,85,82,73,78,91,74};
int b[]={0,2,2,2,0,3,3,3,3,2,0,0};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績: 2/3不及格");
}
else{
System.out.println("學期成績: 及格");
}

}

}

B10133173 呂俊良 提到...

package ab;

public class hw {

public static void main(String[] args) {
int a[]={61,98,65,90,90,78,68,92,74,74,88};
int b[]={2,0,3,0,2,0,2,3,3,2,3};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績達2/3");
}
else{
System.out.println("學期成績未達2/3標準");
}

}

}

Unknown 提到...

public class hw1{

public static void main(String[] args) {
int a[]={90,60,80,95,78,63,74,81,93,85,76};
int b[]={2,2,0,2,3,3,2,2,2,3,3};
int total=24;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績及學期分數達2/3");
}
else{
System.out.println("學期成績及學期分數未達2/3");
}

}

}

匿名 提到...

d9935206 張憶文

public class hw1{

public static void main(String[] args) {
int a[]={90,60,80,95,78,63,74,81,93,85,76};
int b[]={2,2,0,2,3,3,2,2,2,3,3};
int total=24;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績及學期分數達2/3");
}
else{
System.out.println("學期成績及學期分數未達2/3");
}

}

}

B10133003 王冠文 提到...

package go;

public class CS {

public static void main(String[] args) {
int a[]={95,95,94,92,90,88,87,82,76,74,64};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i<a.length; i++)
if(a[i]<60)
fail=fail+b[i];
if(3*fail>=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133044吳盛盟 提到...

package ket;

public class CS {

public static void main(String[] args) {
int a[]={95,95,94,92,90,88,87,82,76,74,64};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10132143 陳又婉 提到...

package score;

public class sc {

public static void main(String[] args) {
int a[]={97,92,93,90,95,81,86,73,74,68,77};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B9933161廖佳穎 提到...

public class ex1 {

public static void main(String[] args) {
int a[]={84,92,89,77,97,99,91,92,70,79,89,73};
int b[]={0,2,2,2,0,3,3,3,3,2,0,0};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133049 連于瑄 提到...

package go;

public class CS {

public static void main(String[] args) {
int a[]={95,95,94,92,90,88,87,82,76,74,64};
int b[]={0,2,0,2,3,3,2,0,3,3,2};
int total=20;
int fail=0;
for(int i=0; i=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

B10133020 李涵清 提到...

public class ex1 {

public static void main(String[] args) {
int a[]={84,92,89,77,97,99,91,92,70,79,89,73};
int b[]={0,2,2,2,0,3,3,3,3,2,0,0};
int total=20;
int fail=0;
for(int i=0; i<a.length; i++)
if(a[i]<60)
fail=fail+b[i];
if(3*fail>=2*total) {
System.out.println("學期成績: 2/3");
}
else{
System.out.println("學期成績: all pass");
}

}

}

Related Posts Plugin for WordPress, Blogger...

熱門文章