herrDeng網內搜尋

自訂搜尋

Ads

2011年4月28日 星期四

計算平均

計算平均

56 則留言:

b9933110 提到...

public class cc{
public static void main(String[]args){
int[]scores={83,82,84,82,81,68,80,88};
int[] c={2,2,2,3,3,3,3,3};
float a;
int cc=0,aa=0;
for(int i=0;i<8 ;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.print(a);
}
}

提到...

class cc{
public static void main(String[]args){
int []scores={83,82,62,98,76,80,79,76,87,84,77};
int []c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

b9933110 提到...

public class cc{
public static void main(String[]args){
int[]scores={83,82,84,82,81,68,80,88};
int[] c={2,2,2,3,3,3,3,3};
float a;
int cc=0,aa=0;
for(int i=0;i<8 ;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.print(a);
}
}

b9933110 提到...

public class cc{
public static void main(String[]args){
int[]scores={83,82,84,82,81,68,80,88};
int[] c={2,2,2,3,3,3,3,3};
float a;
int cc=0,aa=0;
for(int i=0;i<8 ;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.print(a);
}
}

b9933110 提到...

public class cc{
public static void main(String[]args){
int[]scores={83,82,84,82,81,68,80,88};
int[] c={2,2,2,3,3,3,3,3};
float a;
int cc=0,aa=0;
for(int i=0;i<8 ;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.print(a);
}
}

B9933097 提到...

class vv{
public static void main(String[] args){
int[] scores={89,93,72,92,76,80,77,82,94,86,75};
int[] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<11;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.print(a);
}
}

B9933097 提到...

class vv{
public static void main(String[] args){
int[] scores={89,93,72,92,76,80,77,82,94,86,75};
int[] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<11;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.print(a);
}
}

B9933097 提到...

class vv{
public static void main(String[] args){
int[] scores={89,93,72,92,76,80,77,82,94,86,75};
int[] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<11;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.print(a);
}
}

提到...

class cc{
public static void main(String[]args){
int []scores={83,82,62,98,76,80,79,76,87,84,77};
int []c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

我好帥 提到...

class java{
public static void main(String[] args){
int [] scores={90,77,83,88,68,60,63,43,40,80,78};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

淇淇 提到...

class java{
public static void main(String[] args){
int [] scores={90,77,83,88,68,80,73,83,90,80,78};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

雪君 提到...

class g
{
public static void main (String[]arg)
{
int[] scores={57,77,39,39,80,77};
int[] c={2,2,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

雪君 提到...

class g
{
public static void main (String[]arg)
{
int[] scores={57,77,39,39,80,77};
int[] c={2,2,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

orange_020981 提到...

class java{
public static void main(String[] args){
int [] scores={82,83,72,94,70,73,60,64,79,71,74};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
⋯⋯int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

b9933069 提到...

class java{
public static void main(String[] args){
int [] scores={93,75,85,84,70,75,90,86,90,88,75};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

b9933069 提到...

class java{
public static void main(String[] args){
int [] scores={90,87,88,82,78,82,75,83,90,85,80};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

1546 提到...

class java{
public static void main(String[] args){
int [] scores={80,66,55,70,68,70,62,66,64,70,76};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

1546 提到...

class java{
public static void main(String[] args){
int [] scores={85,60,55,76,60,65,70,65,70,70,80};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

1889/02/09 提到...

class java{
public static void main(String[] args){
int [] scores={70,66,50,78,62,60,69,80,70,80,78};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

1889/02/09 提到...

class java{
public static void main(String[] args){
int [] scores={70,66,50,78,62,60,69,80,70,80,78};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

B9933072 提到...

class hello{
public static void main(String[] args){
int [] scores={80,75,60,70,83,71,50,75,83,84,65};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

b9933093 提到...

class tast{
public static void main(String[]args){
int []scores={89,77,66,92,65,70,73,85,94,83,77};
int []c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

b9933069 提到...

class cc{
public static void main(String [] args){
int [] scores={90,84,84,80,94,72,84,73,85,92,81,66};
int [] c={0,2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<12;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

b9933094 提到...

jingmay13@yahoo.com.tw

b9933094 提到...

class java{
public static void main(String[] args){
int [] scores={84,78,63,88,96,63,74,60,85,78,75};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

b9933094 提到...

class mod
{
public static void main(String [] argv)
{
int sum=0;
for(int x=1;x&lt;=100;x++)
if(x%3==0 || x%7==0)
{
sum=sum+x;
}
System.out.println(sum);
}
}

匿名 提到...

public class java2{
public static void main(String[] argv){
int[] scores={70,70,70,70,70,70};
int[] c={2,2,2,2,2,2};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

b9933069 提到...

public class java1 {
public static void main(String[] args) {
int[] scores={60,60,60,60,60,60};
int[] c={2,2,3,3,4,4};
float a;
int cc=0,aa=0;
for (int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

b9933069 提到...

public class java1 {
public static void main(String[] args) {
int[] scores={60,60,60,60,60,60};
int[] c={2,2,3,3,4,4};
float a;
int cc=0,aa=0;
for (int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

b9933069 提到...

public class java1 {
public static void main(String[] args) {
int[] scores={60,60,60,60,60,60};
int[] c={2,2,3,3,4,4};
float a;
int cc=0,aa=0;
for (int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

b9933069 提到...

public class java1 {
public static void main(String[] args) {
int[] scores={60,60,60,60,60,60};
int[] c={2,2,3,3,4,4};
float a;
int cc=0,aa=0;
for (int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

a9933056 提到...

public class aaa{
public static void main(String []args){
int [] scores={80,73,62,82,75,80,88,82,94,86,68};
int[] c={2,2,2,0,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

B9933066 提到...

class aaa{
public static void main(String [] args){
int[] score={50,60,70,80,50,60};
int[] c={2,2,3,3,4,4};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+score[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

A9933059 提到...

public class apple{
public static void main(String []args){
int [] scores={89,74,68,81,71,82,86,85,92,83,65};
int[] c={2,2,2,0,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

B9933061 提到...

1

Unknown 提到...

public class java2{
public static void main(String[] argv){
int[] scores={70,70,70,70,70,70};
int[] c={2,2,2,2,2,2};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

Unknown 提到...

public class java2{
public static void main(String[] argv){
int[] scores={70,70,70,70,70,70};
int[] c={2,2,2,2,2,2};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

B9933061 提到...

public class java2{
public static void main(String[] argv){
int[] scores={70,70,70,70,70,70};
int[] c={2,2,2,2,2,2};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

B9933070 提到...

asd

B9933078 提到...

class cc{
public static void main(String[]args){
int []scores={83,82,62,98,76,80,79,76,87,84,77};
int []c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

B9933070 提到...

class java{
public static void main(String[] args){
int [] scores={90,77,83,88,68,60,63,43,40,80,78};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

B9933068 提到...

class jjj
{
public static void main(String [] arg)
{
int[] scores={60,60,70,80,90,80};
int[] c={2,2,3,3,4,4};
float a;
int cc=0,aa=0;
for (int i=0;i<6;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}

}

b9933065 提到...

class cc{
public static void main(String [] args){
int [] scores={90,84,84,80,94,72,84,73,85,92,81,66};
int [] c={0,2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<12;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

b9999999 提到...

public class cc{
public static void main(String[]args){
int[]scores={83,82,84,82,81,68,80,88};
int[] c={2,2,2,3,3,3,3,3};
float a;
int cc=0,aa=0;
for(int i=0;i<8 ;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.print(a);
}
}

B9933073 提到...

class java{
public static void main(String[] args){
int [] scores={74,78,88,94,61,79,82,75,80,77,73};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

b9933108 提到...

class cc{
public static void main(String [] args){
int [] scores={90,60,84,80,70,72,84,90,85,92,81,45};
int [] c={0,2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<12;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

B9733202 提到...

class test
{
public static void main(String[]args)
{
int[]scores={78,75,80,68,75,69,72};
int[] c={3,3,3,3,3,2,2};
float a;
int m=0,n=0;
for(int i=0;i<7 ;i++)
{
m=m+c[i];
n=n+scores[i]*c[i];
}
a=(float)n/m;
System.out.print(a);
}
}

柏修 提到...

public class boom{
public static void main(String[]args)
{
int []scores={83,81,62,65,78,47,52,60,};
int [] c ={2,2,2,3,3,3,3,3,};
float a;
int cc=0,aa=0;
for(int i=0;i<8;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

Unknown 提到...

class test
{
public static void main(String[]args)
{
int[]scores={78,75,80,68,75,69,72};
int[] c={3,3,3,3,3,2,2};
float a;
int m=0,n=0;
for(int i=0;i<7 ;i++)
{
m=m+c[i];
n=n+scores[i]*c[i];
}
a=(float)n/m;
System.out.print(a);
}
}

B9933085 提到...

public class a01{
public static void main(String[]args){
int[]scores={83,82,73,74,89,96,82,79};
int[] c={2,2,2,3,3,3,3,3};
float a;
int cc=0,aa=0;
for(int i=0;i<8 ;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.print(a);
}
}

B9933101 提到...

class java{
public static void main(String[] args){
int [] scores={88,67,73,78,68,80,73,83,78,80,78};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

b9933064 提到...

class java{
public static void main(String[] args){
int [] scores={90,77,83,88,68,80,73,83,90,80,78};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

柏修 提到...

public class boom{
public static void main(String[]args)
{
int []scores={83,81,62,65,78,47,52,60,};
int [] c ={2,2,2,3,3,3,3,3,};
float a;
int cc=0,aa=0;
for(int i=0;i<8;i++)
{
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

A9933058 提到...

public class y4{
public static void main(String []args){
int [] scores={89,93,72,92,75,80,88,82,94,86,68};
int[] c={2,2,2,0,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

B9933109 提到...

class java{
public static void main(String[] args){
int [] scores={85,73,80,87,67,80,74,85,93,84,83};
int [] c={0,0,0,2,2,2,3,3,3,3,3};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

B9933116 提到...

class java{
public static void main(String[] args){
int [] scores={84,78,63,88,96,63,74,60,85,78,75};
int [] c={2,2,2,0,3,3,3,3,3,0,0};
float a;
int cc=0,aa=0;
for(int i=0;i<6;i++){
cc=cc+c[i];
aa=aa+scores[i]*c[i];
}
a=(float)aa/cc;
System.out.println(a);
}
}

Related Posts Plugin for WordPress, Blogger...

熱門文章