herrDeng網內搜尋
自訂搜尋
Ads
訂閱:
張貼留言 (Atom)
熱門文章
-
url="https://www.twse.com.tw/exchangeReport/STOCK_DAY?response=json&date=20220330&stockNo=2330"
-
教育部為提昇全民資安素養與電腦防護能力,本部於101年9月5日至11月5日舉辦「全民資安素養自我評量」活動,請在活動期間內踴躍上網檢測資訊安全素養認知程度,並有機會參與抽獎,詳情請參閱活動網站(網址: https://isafe.moe.edu.tw/event
-
python pandas對黃金、外匯匯率的爬蟲練習,並使用matplotlib.pyplot的函數plot, scatter做資料視覺化處理,採用numpy的統計函數,分析黃金價格波動與歐元走勢的關聯。
-
Python C C++ 2 pointer速解Leetcode 2337 Move Pieces to Obtain a String 多日Leetcode的問題都可用2-pointer法來解,今日2337. Move Pieces to Obtain a String也不例...
-
你會用C的算子sizeof?
-
Leetcode的1652. Defuse the Bomb是絕佳的練習題,特別是針對Python的使用者,雖說是sliding window 是簡單的那種,還可練習loop, slicing, minus index etc . https://leetcode.com/pro...
56 則留言:
import java.util.Scanner;
public class test {
public static float abc(float m, float w ){
float bmi ;
bmi= (float)m/(w*w)*10000;
return bmi;
}
public static void main(String[] args) {
int w, m;
System.out.println("請輸入身高");
Scanner a = new Scanner(System.in);
w = a.nextInt();
System.out.println("請輸入體重");
Scanner b = new Scanner(System.in);
m = b.nextInt();
System.out.println(abc(m,w));
}
}
import java.util.Scanner;
public class ex01 {
public static float BMI(float h,float w){
float bmi=w/(h*h)*10000;
return bmi ;
}
public static void main(String[] args) {
Scanner kb=new Scanner(System.in);
float h,w;
System.out.print("Hight=");
h=kb.nextFloat();
System.out.print("weight=");
w=kb.nextFloat();
System.out.println(BMI(h,w));
}
}
import java.util.Scanner;
public class eg0507 {
public static double aaa(double m,double w){
double bmi;
bmi=w/m/m;
return bmi;
}
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
System.out.print("請輸入身高:");
double m=input.nextDouble();
System.out.print("請輸入體重:");
double w=input.nextDouble();
System.out.print(aaa(m,w));
}
}
import java.util.Scanner;
public class Test_01 {
public static float BMI(float h, float w) {
float bmi = w / h / h * 10000;
return bmi;
}
public static void main(String[] args) {
Scanner kb = new Scanner(System.in);
float h, w;
System.out.print("Hight:");
h = kb.nextFloat();
System.out.print("Wight:");
w = kb.nextFloat();
System.out.print(BMI(h, w));
}
}
import java.util.Scanner;
public class egg0507 {
public static double ans(double m,double w) {
double bmi;
bmi=w/m/m;
return bmi;
}
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
System.out.print("m");
double m=input.nextDouble();
System.out.print("w");
double w=input.nextDouble();
System.out.print(ans(m,w));
}
}
import java.util.Scanner;
public class sss {
static double printop(double m,double w){
double BMI;
BMI=w/m/m;
return BMI;
}
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
double m,w;
System.out.print("身高");
m=input.nextDouble();
System.out.print("體重");
w=input.nextDouble();
System.out.println(printop(m,w));
}
}
import java.util.Scanner;
public class sss {
static double printop(double m,double w){
double BMI;
BMI=w/m/m;
return BMI;
}
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
double m,w;
System.out.print("身高");
m=input.nextDouble();
System.out.print("體重");
w=input.nextDouble();
System.out.println(printop(m,w));
}
}
import java.util.Scanner;
public class pso2 {
static double printpso2(double m,double w){
double BMI;
BMI=w/m/m;
return BMI;
}
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
double m,w;
System.out.print("身高");
m=input.nextDouble();
System.out.print("體重");
w=input.nextDouble();
System.out.println(printpso2(m,w));
}
}
import java.util.*;
public class Java {
public static float bim(float m,float w) {
return w/m/m;
}
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
float m=sc.nextFloat();
float w=sc.nextFloat();
System.out.println(bim(m,w));
}
}
import java.util.*;
public class Java {
public static float bim(float m,float w) {
return w/m/m;
}
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
float m=sc.nextFloat();
float w=sc.nextFloat();
System.out.println(bim(m,w));
}
}
import java.util.*;
public class Java {
public static float bim(float m,float w) {
return w/m/m;
}
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
float m=sc.nextFloat();
float w=sc.nextFloat();
System.out.println(bim(m,w));
}
}
import java.util.*;
public class westr {
static double test11(double m,double w)
{
double bmi;
bmi=m/w/w;
return bmi;
}
public static void main(String[] args)
{
Scanner n=new Scanner(System.in);
System.out.print("身高");
double w=n.nextDouble();
System.out.print("體重");
double m=n.nextDouble();
System.out.print(test11(m,w));
}
}
import java.util.*;
public class westr {
static double test11(double m,double w)
{
double bmi;
bmi=m/w/w;
return bmi;
}
public static void main(String[] args)
{
Scanner n=new Scanner(System.in);
System.out.print("身高");
double w=n.nextDouble();
System.out.print("體重");
double m=n.nextDouble();
System.out.print(test11(m,w));
}
}
import java.util.*;
public class westr {
static double test11(double m,double w)
{
double bmi;
bmi=m/w/w;
return bmi;
}
public static void main(String[] args)
{
Scanner n=new Scanner(System.in);
System.out.print("身高");
double w=n.nextDouble();
System.out.print("體重");
double m=n.nextDouble();
System.out.print(test11(m,w));
}
}
import java.util.Scanner;
public class apple {
public static double bmi(double w,double m){
return w/(m*m);
}
public static void main(String[]args){
Scanner x = new Scanner(System.in);
double m = x.nextDouble();
double w = x.nextDouble();
double BMI=bmi(w,m);
System.out.print(BMI);
}
}
import java.util.Scanner;
public class MtcTW
{
public static double bmi(double m,double w)
{
return w/m/m;
}
public static void main(String[] args)
{
Scanner x = new Scanner(System.in);
double m = x.nextDouble();
double w = x.nextDouble();
double BMI = bmi(w,m);
System.out.println(BMI);
}
}
import java.util.*;
class FOR{
public static float BMI(float w,float m){
return w/m/m;
}
public static void main(String[]args){
Scanner ww=new Scanner(System.in);
System.out.print("體重");
float w=ww.nextFloat();
System.out.print("身高");
float m=ww.nextFloat();
System.out.print(BMI(w,m));
}
}
import java.util.Scanner;
public class awing {
public static double bmi(double m,double w) {
return w/m/m;
}
public static void main(String[] args){
Scanner x=new Scanner(System.in);
double m = x.nextDouble();
double w = x.nextDouble();
double BMI=bmi(w,m);
System.out.println(BMI);
}
}
import java.util.*;
class fir{
public static float BMI(float w,float m){
return w/m/m;
}
public static void main (String[]arge){
Scanner ww=new Scanner(System.in);
System.out.print("體重");
float w=ww.nextFloat();
System.out.print("身高");
float m=ww.nextFloat();
System.out.print(BMI(w,m));
}
}
package hello509;
import java.util.Scanner;
public class hello123 {
public static double bmi(double m,double w){
return w/m/m;
}
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
double m,w;
System.out.println("身高");
m=input.nextDouble();
System.out.println("體重");
w=input.nextDouble();
Double BMI=bmi(m,w);
System.out.println(BMI);
}
}
package hello509;
import java.util.Scanner;
public class hh {
public static double bmi(double m, double w){
return w/m/m;
}
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
double m,w;
System.out.print("身高");
m=input.nextDouble();
System.out.print("體重");
w=input.nextDouble();
double BMI=bmi(m,w);
System.out.println(BMI);
}
import java.util.Scanner;
public class sam
{
public static double bmi(double m,double w)
{
return w/m/m;
}
public static void main(String[] args)
{
Scanner x = new Scanner(System.in);
double m = x
public class san {
public static double bmi(double m, double w)
{
return w/m/m;
}
public static void main(String[] args)
{
java.util.Scanner sc = new java.util.Scanner(System.in);
double m=sc.nextDouble();
double w=sc.nextDouble();
double Bmi=bmi(m,w);
System.out.println(Bmi);
}
}
import java.util.Scanner;
public class sam
{
public static double bmi(double m,double w)
{
return w/m/m;
}
public static void main(String[] args)
{
Scanner x = new Scanner(System.in);
double m = x
public class bmi {
public static double bmi(double m, double w)
{
return w/m/m;
}
public static void main(String[] args)
{
java.util.Scanner sc = new java.util.Scanner(System.in);
double m=sc.nextDouble();
double w=sc.nextDouble();
double Bmi=bmi(m,w);
System.out.println(Bmi);
}
}
public class hello {
public static double bmi(double m, double w)
{
return w/m/m;
}
public static void main(String[] args)
{
java.util.Scanner sc = new java.util.Scanner(System.in);
double m=sc.nextDouble();
double w=sc.nextDouble();
double Bmi=bmi(m,w);
System.out.println(Bmi);
}
}
public class bmi {
public static double bmi(double m, double w)
{
return w/m/m;
}
public static void main(String[] args)
{
java.util.Scanner sc = new java.util.Scanner(System.in);
double m=sc.nextDouble();
double w=sc.nextDouble();
double Bmi=bmi(m,w);
System.out.println(Bmi);
}
}
public class hello {
public static double bmi (double m, double w) {
return w/m/m;
}
public static void main(String[] args){
java.util.Scanner sc=new java.util.Scanner (System.in);
double m=sc.nextDouble();
double w=sc.nextDouble();
double Bmi=bmi(m,w);
System.out.println(Bmi);
}
}
package hello0509;
import java.util.Scanner;
public class aa {
public static double bmi(double m , double w){
return w/m/m;
}
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
double m,w;
System.out.print("身高");
m = input.nextDouble();
System.out.print("體重");
w = input.nextDouble();
double BMI=bmi(m,w);
System.out.println("BMI="+w/m/m);
}
}
public class ex1 {
public static double bmi(double m,double w){
return w/m/m;
}
public static void main(String [] args){
java.util.Scanner sc = new java.util.Scanner(System.in);
double m=sc.nextDouble();
double w=sc.nextDouble();
double Bmi=bmi(m,w);
System.out.println(Bmi);
}
}
import java.util.*;
public class get {
public static double bmi(double m,double w)
{
return w/m/m;
}
public static void main(String[] args){
Scanner input=new Scanner(System.in);
double m=input.nextDouble();
double w=input.nextDouble();
double BMI=bmi(w,m);
System.out.println(BMI);
}
}
package hello0509;
import java.util.Scanner;
public class aa {
public static double bmi(double m , double w){
return w/m/m;
}
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
double m,w;
System.out.print("身高");
m = input.nextDouble();
System.out.print("體重");
w = input.nextDouble();
double BMI=bmi(m,w);
System.out.println("BMI="+w/m/m);
}
}
public class hello {
public static double bmi(double m, double w)
{
return 10000*w/m/m;
}
public static void main(String[] args)
{
java.util.Scanner sc = new java.util.Scanner(System.in);
System.out.print("身高:");
double m=sc.nextDouble();
System.out.print("體重:");
double w=sc.nextDouble();
double Bmi=bmi(m,w);
System.out.println(Bmi);
}
}
import java.util.Scanner;
public class banana {
public static double bmi(double w,double m){
return w/(m*m);
}
public static void main(String[]args){
Scanner x = new Scanner(System.in);
double m = x.nextDouble();
double w = x.nextDouble();
double BMI=bmi(w,m);System.out.print(BMI);
}
}
public class lang {
public static double bmi(double m, double w)
{
return w/m/m;
}
public static void main(String[] args)
{
java.util.Scanner sc = new java.util.Scanner(System.in);
double m=sc.nextDouble();
double w=sc.nextDouble();
double Bmi=bmi(m,w);
System.out.println(Bmi);
}
}
import java.util.Scanner;
public class candy {
public static double bmi(double w,double m){
return w/(m*m);
}
public static void main(String[]args){
Scanner x = new Scanner(System.in);
double m = x.nextDouble();
double w = x.nextDouble();
double BMI=bmi(w,m);System.out.print(BMI);
}
}
import java.util.*;
public class westr {
static double test11(double m,double w)
{
double bmi;
bmi=m/w/w;
return bmi;
}
public static void main(String[] args)
{
Scanner n=new Scanner(System.in);
System.out.print("身高");
double w=n.nextDouble();
System.out.print("體重");
double m=n.nextDouble();
System.out.print(test11(m,w));
}
}
public class abcd {
public static double bmi(double m, double w)
{
return w/m/m;
}
public static void main(String[] args)
{
java.util.Scanner sc = new java.util.Scanner(System.in);
double m=sc.nextDouble();
double w=sc.nextDouble();
double Bmi=bmi(m,w);
System.out.println(Bmi);
}
}
public class ccc {
public static double bmi(double m, double w)
{
return w/m/m;
}
public static void main(String[] args)
{
java.util.Scanner sc = new java.util.Scanner(System.in);
double m=sc.nextDouble();
double w=sc.nextDouble();
double Bmi=bmi(m,w);
System.out.println(Bmi);
}
}
public class bmm {
public static double bmi(double m, double w)
{
return w/m/m;
}
public static void main(String[] args)
{
java.util.Scanner sc = new java.util.Scanner(System.in);
double m=sc.nextDouble();
double w=sc.nextDouble();
double Bmi=bmi(m,w);
System.out.println(Bmi);
}
}
public class ass {
public static double bmi(double m, double w)
{
return w/m/m;
}
public static void main(String[] args)
{
java.util.Scanner sc = new java.util.Scanner(System.in);
double m=sc.nextDouble();
double w=sc.nextDouble();
double Bmi=bmi(m,w);
System.out.println(Bmi);
}
}
import java.util.Scanner;
public class app {
public static double bmi(double m,double w){
return w/m/m;
}
public static void main(String[] args) {
Scanner x =new Scanner(System.in);
double m=x.nextDouble();
double w=x.nextDouble();
double bmi = bmi(w,m);
System.out.println(bmi);
}
}
package hello0509;
import java.util.Scanner;
public class aa {
public static double bmi(double m , double w){
return w/m/m;
}
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
double m,w;
System.out.print("身高");
m = input.nextDouble();
System.out.print("體重");
w = input.nextDouble();
double BMI=bmi(m,w);
System.out.println("BMI="+w/m/m);
}
}
package hello0509;
import java.util.Scanner;
public class aa {
public static double bmi(double m , double w){
return w/m/m;
}
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
double m,w;
System.out.print("身高");
m = input.nextDouble();
System.out.print("體重");
w = input.nextDouble();
double BMI=bmi(m,w);
System.out.println("BMI="+w/m/m);
}
}
public class NYPD {
public static double bmi(double m,double w)
{
return w/m/m;
}
public static void main(String [] args)
{
java.util.Scanner sc = new java.util.Scanner(System.in);
double m=sc.nextDouble();
double w=sc.nextDouble();
double Bmi=bmi(m,w);
System.out.println(Bmi);
}
}
import java.util.Scanner;
public class aa {
static double printop(double m,double w){
double BMI;
BMI=w/m/m;
return BMI;
}
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
double m,w;
System.out.print("身高");
m=input.nextDouble();
System.out.print("體重");
w=input.nextDouble();
System.out.println(printop(m,w));
}
}
import java.util.Scanner;
public class eg0507 {
public static double aaa(double m,double w){
double bmi;
bmi=w/m/m;
return bmi;
}
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
System.out.print("請輸入身高:");
double m=input.nextDouble();
System.out.print("請輸入體重:");
double w=input.nextDouble();
System.out.print(aaa(m,w));
}
}
public class ass {
public static double bmi(double m, double w)
{
return w/m/m;
}
public static void main(String[] args)
{
java.util.Scanner sc = new java.util.Scanner(System.in);
double m=sc.nextDouble();
double w=sc.nextDouble();
double Bmi=bmi(m,w);
System.out.println(Bmi);
}
}
import java.util.*;
class fir{
public static float BMI(float w,float m){
return w/m/m;
}
public static void main (String[]arge){
Scanner ww=new Scanner(System.in);
System.out.print("體重");
float w=ww.nextFloat();
System.out.print("身高");
float m=ww.nextFloat();
System.out.print(BMI(w,m));
}
}
import java.util.Scanner;
public class sss {
static double printop(double m,double w){
double BMI;
BMI=w/m/m;
return BMI;
}
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
double m,w;
System.out.print("身高");
m=input.nextDouble();
System.out.print("體重");
w=input.nextDouble();
System.out.println(printop(m,w));
}
}
import java.util.Scanner;
public class hello {
public static double aaa(double m,double w){
double bmi;
bmi=w/m/m;
return bmi;
}
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
System.out.print("請輸入身高:");
double m=input.nextDouble();
System.out.print("請輸入體重:");
double w=input.nextDouble();
System.out.print(aaa(m,w));
}
}
import java.util.Scanner;
public class aa {
static double printop(double m,double w){
double BMI;
BMI=w/m/m;
return BMI;
}
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
double m,w;
System.out.print("身高");
m=input.nextDouble();
System.out.print("體重");
w=input.nextDouble();
System.out.println(printop(m,w));
}
}
import java.util.Scanner;
public class sss {
static double printop(double m,double w){
double BMI;
BMI=w/m/m;
return BMI;
}
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
double m,w;
System.out.print("身高");
m=input.nextDouble();
System.out.print("體重");
w=input.nextDouble();
System.out.println(printop(m,w));
}
}
import java.util.Scanner;
public class test {
public static float abc(float m, float w ){
float bmi ;
bmi= (float)m/(w*w)*10000;
return bmi;
}
public static void main(String[] args) {
int w, m;
System.out.println("請輸入身高");
Scanner a = new Scanner(System.in);
w = a.nextInt();
System.out.println("請輸入體重");
Scanner b = new Scanner(System.in);
m = b.nextInt();
System.out.println(abc(m,w));
}
}
import java.util.Scanner;
public class test {
public static float abc(float m, float w ){
float bmi ;
bmi= (float)m/(w*w)*10000;
return bmi;
}
public static void main(String[] args) {
int w, m;
System.out.println("請輸入身高");
Scanner a = new Scanner(System.in);
w = a.nextInt();
System.out.println("請輸入體重");
Scanner b = new Scanner(System.in);
m = b.nextInt();
System.out.println(abc(m,w));
}
}
import java.util.Scanner;
public class test {
public static float abc(float m, float w ){
float bmi ;
bmi= (float)m/(w*w)*10000;
return bmi;
}
public static void main(String[] args) {
int w, m;
System.out.println("請輸入身高");
Scanner a = new Scanner(System.in);
w = a.nextInt();
System.out.println("請輸入體重");
Scanner b = new Scanner(System.in);
m = b.nextInt();
System.out.println(abc(m,w));
}
}
張貼留言