網頁

2015年5月25日 星期一

Ex8. 華氏度數轉攝氏

Ex8. 華氏度數轉攝氏

f=32  to 1000 step 32

39 則留言:



  1. public class ex2 {

    public static void main(String[] args) {
    double f = 32;
    double c = 0;
    for (f=32;f<1000;f+=32)
    {
    c = (f-32)/9.0*5.0;

    System.out.println("華氏"+f+" = 攝氏 "+c);
    }

    }

    }

    回覆刪除
  2. D10033003陳志翔2015年5月25日 晚上9:04

    public class D100330033 {

    public static void main(String[] args) {
    // TODO Auto-generated method stub
    int upper = 1000;
    int step = 32;
    for (int f = 32;f <= upper;f += step){
    double c = (f-32)*5/9;
    System.out.println(f + "\t" + c);
    }

    }

    }

    回覆刪除
  3. D10333009 張賢青2015年5月25日 晚上9:04



    public class ex2 {

    public static void main(String[] args) {
    double f = 32;
    double c = 0;
    for (f=32;f<1000;f+=32)
    {
    c = (f-32)/9.0*5.0;

    System.out.println("華氏"+f+" = 攝氏 "+c);
    }

    }

    }

    回覆刪除
  4. D10033305呂健宏2015年5月25日 晚上9:07


    public class txet_1 {

    public static void main(String[] args) {
    int upper = 1000;
    int Step = 32;
    for(int f=32;f<=upper;f+=Step){
    double c=(f-32)*5/9;
    System.out.println(f+"\t"+c);

    }
    }

    }

    回覆刪除
  5. public class d10033203 {

    public static void main(String[] args) {
    // TODO Auto-generated method stub
    int upper = 1000;
    int step = 32;
    for (int f = 32;f <= upper;f += step){
    double c = (f-32)*5/9;
    System.out.println(f + "\t" + c);
    }
    }

    }

    回覆刪除
  6. D10333034 洪芷茵2015年5月25日 晚上9:08

    D10333034 洪芷茵

    public class HI2 {

    public static void main(String[] args) {
    double upper = 1000;
    double step = 32;
    for (double f = 32;f <= upper;f += step){
    double c = (f - 32.0)*5.0 / 9.0;
    System.out.println(f + "\t" + c);

    }
    }

    }

    回覆刪除
  7. D10333012范秀娟2015年5月25日 晚上9:08

    public class ex2 {

    public static void main(String[] args) {
    double upper = 1000;
    double step = 32;
    for (double f = 32;f <= upper;f += step){
    double c = (f - 32.0)*5.0 / 9.0;
    System.out.println(f + "\t" + c);
    }

    }

    }

    回覆刪除
  8. public class d10033203 {

    public static void main(String[] args) {
    // TODO Auto-generated method stub
    int upper = 1000;
    int step = 32;
    for (int f = 32;f <= upper;f += step){
    double c = (f-32)*5/9;
    System.out.println(f + "\t" + c);
    }
    }

    }

    回覆刪除
  9. d10033093葉正傑2015年5月25日 晚上9:09


    public class ex02 {

    public static void main(String[] args) {

    int upper = 1000;
    int step = 32;
    for (int f = 32;f <= upper;f += step){
    double c = (f-32)*5/9;
    System.out.println(f + "\t" + c);

    }
    }
    }

    回覆刪除
  10. D10333040 王崇安2015年5月25日 晚上9:09

    D10333040 王崇安

    public class hi2 {

    public static void main(String[] args) {
    double upper = 1000;
    double step = 32;
    for (double f = 32;f <= upper;f += step){
    double c = (f - 32.0)*5.0 / 9.0;
    System.out.println(f + "\t" + c);

    }
    }

    }

    回覆刪除
  11. D10333007馮婷鈺2015年5月25日 晚上9:10


    public class Hi2 {

    public static void main(String[] args) {
    double upper = 1000;
    double step = 32;
    for (double f = 32;f <= upper;f += step){
    double c = (f - 32.0)*5.0 / 9.0;
    System.out.println(f + "\t" + c);
    }
    }

    }

    回覆刪除
  12. D10033029 吳武俊2015年5月25日 晚上9:11

    public class do2 {

    public static void main(String[] args) {

    int upper = 1000;
    int step = 32;
    for (int f = 32;f <= upper;f += step){
    double c = (f-32)*5/9;
    System.out.println(f + "\t" + c);
    }

    }

    }

    回覆刪除
  13. D10333033 江淑婷2015年5月25日 晚上9:12

    D10333033 江淑婷

    public class hi0525 {

    public static void main(String[] args) {
    double upper = 1000;
    double step = 32;
    for (double f = 32;f <= upper;f += step){
    double c = (f - 32.0)*5.0 / 9.0;
    System.out.println(f + "\t" + c);
    }
    }

    }

    回覆刪除
  14. D10333010 柯羿瑄2015年5月25日 晚上9:13

    D10333010 柯羿瑄
    public class hi0525 {

    public static void main(String[] args) {
    double upper = 1000;
    double step = 32;
    for (double f = 32;f <= upper;f += step){
    double c = (f - 32.0)*5.0 / 9.0;
    System.out.println(f + "\t" + c);
    }
    }

    }

    回覆刪除
  15. D10333015陳韻萱2015年5月25日 晚上9:14



    public class cho {

    public static void main(String[] args) {

    double f = 0;
    double c = 0;
    for ( f = 32; f <= 1000; f += 32 ) {
    c = (f-32)/9.0*5.0;
    System.out.println("華氏 "+f+" 度 = 攝氏 "+c+" 度 ");
    }


    }

    }

    回覆刪除
  16. D10333037 楊茗程2015年5月25日 晚上9:16

    public class LOVE520520 {

    public static void main(String[] args) {
    double f=0;
    double c=0;
    for (f=32;f<=1000;f+=32){
    c=(f-32)/9.0*5.0;
    System.out.println("華氏"+f+"度=攝氏"+c+"度");
    }

    }

    }

    回覆刪除
  17. D10333001 羅原福2015年5月25日 晚上9:17

    public class bbb {

    public static void main(String[] args) {
    double f =0;
    double c =0;
    for ( f = 32; f <= 1000; f += 32 ) {
    c = (f-32) / 9.0 *5.0;
    System.out.println("華氏"+f+"度=攝氏"+c+"度");
    }

    }
    }

    回覆刪除
  18. Y10310066 陳昤瑄2015年5月25日 晚上9:17

    Y10310066 資管一甲 陳昤瑄

    public class dsf {

    public static void main(String[] args){
    double upper=1000;
    double step =32;
    for (double f =32;f<=upper;f+=step){
    double c =(f-32.0)*5.0/9.0;
    System.out.println(f+"\t"+c);
    }

    }
    }

    回覆刪除
  19. 邱秀蓉D102332032015年5月25日 晚上9:18

    public class ex3 {
    public static void main(String[] args) {
    double upper = 1000;
    double step = 32;
    for (double f = 32;f <= upper;f += step){
    double c = (f - 32.0) * 5.0 / 9.0;
    System.out.println(f + "\t" + c);
    }
    }
    }

    回覆刪除
  20. D10333030張佑榕2015年5月25日 晚上9:19


    public class EXXX {

    public static void main(String[] args) {
    double f=0;
    double c=0;
    for (f=32;f<=1000;f+=32){
    c=(f-32)/9.0*5.0;
    System.out.println("華氏"+f+"度=攝氏"+c+"度");
    }

    }

    }

    回覆刪除
  21. Y10310054 潘幸德2015年5月25日 晚上9:21

    public class hi123 {

    public static void main(String[] args) {
    double upper = 1000;
    double step = 32;
    for (double f = 32;f <=upper;f += step){
    double c = (f - 32.0)*5.0 / 9.0;
    System.out.println(f + "\t" + c);
    }
    }

    }

    回覆刪除
  22. d10333022劉俊谷2015年5月25日 晚上9:21


    public class ppp333 {

    public static void main(String[] args) {
    double upper =1000;
    double step = 32;
    for ( double f = 32;f <=upper;f += step){
    double c = (f - 32.0)*5.0 / 9.0;
    System.out.println(f + "\t" + c);
    }
    }

    }

    回覆刪除
  23. d10333016羅勝耀2015年5月25日 晚上9:21


    public class www123{

    public static void main(String[] args) {
    double upper =1000;
    double step = 32;
    for ( double f = 32;f <=upper;f += step){
    double c = (f - 32.0)*5.0 / 9.0;
    System.out.println(f + "\t" + c);
    }
    }

    }

    回覆刪除
  24. D10333002徐國智2015年5月25日 晚上9:21


    public class helloex1 {

    public static void main(String[] args) {
    double upper=1000;
    double step=32;
    for (double f=32;f <=upper;f +=step){
    double c=(f-32.0)*5.0/9.0;
    System.out.println(f+"\t"+c); }

    }

    }

    回覆刪除
  25. 邱秀蓉D102332032015年5月25日 晚上9:22

    public class ex3 {
    public static void main(String[] args) {
    double upper = 1000;
    double step = 32;
    for (double f = 32;f <= upper;f += step){
    double c = (f - 32.0) * 5.0 / 9.0;
    System.out.println(f + "\t" + c);
    }
    }
    }

    回覆刪除
  26. D10333039邱嘉琪2015年5月25日 晚上9:23

    public class HIHI {

    public static void main(String[] args) {
    double f = 0;
    double c = 0;
    for ( f = 32; f <= 1000; f += 32 ){
    c = (f-32)/9.0*5.0;
    System.out.println("華氏"+f+" 度 = 攝氏 "+c+" 度");
    }

    }

    }

    回覆刪除
  27. D10333031張裕玲2015年5月25日 晚上9:24


    public class ex3 {
    public static void main(String[] args) {
    double f = 0;
    double c = 0;
    for ( f =32; f <= 1000; f +=32 ){
    c = (f-32)/9.0*5.0;
    System.out.println("華氏 "+f+" 度 = 攝氏"+c+" 度");

    }

    }
    }

    回覆刪除
  28. D103333008王旭翔2015年5月25日 晚上9:25

    public class joneswang {
    public static void main(String[] args) {
    double f=0;
    double c=0;
    for(f=32;f<=1000;f+=32){
    c=(f-32)/9.0*5.0;
    System.out.println("華氏"+f+"度=攝氏"+c+"度");}}}

    回覆刪除
  29. D10333003盛采彤2015年5月25日 晚上9:25


    public class hihi0525 {

    public static void main(String[] args) {

    double f=0;
    double c=0;
    for(f=32;f<=1000;f+=32){
    c=(f-32)/9.0*5.0;
    System.out.println("華氏"+f+"度=攝氏"+c+"度");
    }
    }

    }

    回覆刪除
  30. D10333014邱宜貞2015年5月25日 晚上9:30


    public class hello0525 {

    public static void main(String[] args){
    double f = 0;
    double c = 0;
    for ( f = 32; f <= 1000; f += 32 ){
    c = (f-32)/9.0*5.0;
    System.out.println("華氏"+f+" 度 = 攝氏 "+c+" 度 ");
    }

    }

    }

    回覆刪除
  31. public class ex2 {

    public static void main(String[] args) {
    double f = 32;
    double c = 0;
    for (f=32;f<1000;f+=32)
    {
    c = (f-32)/9.0*5.0;

    System.out.println("華氏"+f+" = 攝氏 "+c);
    }

    }

    }

    回覆刪除
  32. public class ex2 {

    public static void main(String[] args) {
    double f = 32;
    double c = 0;
    for (f=32;f<1000;f+=32)
    {
    c = (f-32)/9.0*5.0;

    System.out.println("華氏"+f+" = 攝氏 "+c);
    }

    }

    }

    回覆刪除
  33. D10333013吳竑逸2015年6月1日 晚上9:01

    public class ex2 {

    public static void main(String[] args) {
    double upper = 1000;
    double step = 32;
    for (double f = 32;f <= upper;f += step){
    double c = (f - 32.0)*5.0 / 9.0;
    System.out.println(f + "\t" + c);
    }

    }

    }

    回覆刪除
  34. D10033303 謝凱宇2015年6月1日 晚上9:22

    public class D10033303 {

    public static void main(String[] args) {
    // TODO Auto-generated method stub
    int upper = 1000;
    int step = 32;
    for (int f = 32;f <= upper;f += step){
    double c = (f-32)*5/9;
    System.out.println(f + "\t" + c);
    }

    }

    }

    回覆刪除
  35. D10033301 江姿穎 提到...
    public class D10033301 {

    public static void main(String[] args) {
    // TODO Auto-generated method stub
    int upper = 1000;
    int step = 32;
    for (int f = 32;f <= upper;f += step){
    double c = (f-32)*5/9;
    System.out.println(f + "\t" + c);
    }

    }

    }

    回覆刪除
  36. B10033077陳光浩2015年6月8日 晚上8:57

    public class ex2 {

    public static void main(String[] args) {
    double f = 32;
    double c = 0;
    for (f=32;f<1000;f+=32)
    {
    c = (f-32)/9.0*5.0;

    System.out.println("華氏"+f+" = 攝氏 "+c);
    }

    }

    }

    回覆刪除
  37. D9933084 陳睿喆2015年6月8日 晚上8:58

    public class ex2 {

    public static void main(String[] args) {
    double f = 32;
    double c = 0;
    for (f=32;f<1000;f+=32)
    {
    c = (f-32)/9.0*5.0;

    System.out.println("華氏"+f+" = 攝氏 "+c);
    }

    }

    }

    回覆刪除
  38. public static void main(String[] args) {
    double f = 32;
    double c = 0;
    for (f=32;f<1000;f+=32){
    c = (f-32)/9.0*5.0;
    System.out.println("華氏"+f+" = 攝氏 "+c);
    }
    }

    回覆刪除
  39. D10333038歐俊吉2015年6月21日 下午5:25

    public class Hey {
    public static void main(String[] args) {
    double f = 0;
    double c = 0;
    for ( f =32; f <= 1000; f +=32 ){
    c = (f-32)/9.0*5.0;
    System.out.println("華氏 "+f+" 度 = 攝氏"+c+" 度");

    }

    }
    }

    回覆刪除

HTML 編輯器