Posts

Showing posts from December 15, 2018

カリナ・ビットヘフト

Image
カリナ・ビットヘフト Carina Witthöft カリナ・ビットヘフト 基本情報 国籍 ドイツ 出身地 同・ヴェントルプ・バイ・ハンブルク 生年月日 ( 1995-02-16 ) 1995年2月16日(23歳) 身長 176cm 体重 68kg 利き手 右 バックハンド 両手打ち ツアー経歴 デビュー年 2009年 ツアー通算 1勝 シングルス 1勝 ダブルス 0勝 生涯獲得賞金 1,955,586 アメリカ合衆国ドル 4大大会最高成績・シングルス 全豪 3回戦(2015) 全仏 3回戦(2017) 全英 3回戦(2016・17) 全米 3回戦(2016) 4大大会最高成績・ダブルス 全豪 2回戦(2018) 全仏 2回戦(2018) 全英 1回戦(2015・17・18) 全米 2回戦(2017) キャリア自己最高ランキング シングルス 48位(2018年1月8日) ダブルス 168位(2018年7月16日) 2018年10月22日現在 ■ テンプレート   ■ プロジェクト テニス カリナ・ビットヘフト ( Carina Witthöft , 1995年2月16日 - )は、ドイツ・ヴェントルプ・バイ・ハンブルク出身の女子プロテニス選手。これまでにWTAツアーでシングルス1勝を挙げている。自己最高ランキングはシングルス48位、ダブルス168位。身長176cm、体重68kg。右利き、バックハンド・ストロークは両手打ち。 目次 1 来歴 2 WTAツアー決勝進出結果 2.1 シングルス: 1回 (1勝0敗) 3 4大大会シングルス成績 4 脚注 5 外部リンク 来歴 4大大会では2013年ウィンブルドン選手権で予選を勝ち上がり初出場した。現時点では3回戦進出が最高成績である。 2017年10月のルクセンブルク大会でツアー初の決勝に進出した。決勝でモニカ・プイグを 6–3, 7–5 で破りWTAツアー初優勝を果たした。2018年1月8日付けのランキングで自己最高の48位を記録しトップ50入りを果たしている。 WTAツアー決勝進出結果 シングルス: 1回 (1勝0敗) 大会グレード グランドスラム (0–0) ツアー選手権 (0–0) プレミア (0–0) インターナショナル (1–0) 結果 No. 決勝日 大会 サーフェス 対戦相手 スコア 優勝

converting money into all possible combinations

Image
up vote 0 down vote favorite I know my question is repeated but I still couldn't understand what the other answers are explaining. Below is my code and I have calculated it to get to the first line which is 57 pennies + 0 dimes + 0 nickels + 0 quarters and I am thinking to run a loop that will list all the possible combinations of pennies, dimes, nickels, quarters. But, I don't know how. public class Conversion public static void main(String args) int cents = 57; int quarter = 25; int dime = 10; int nickel = 5; int penny = 1; int totalPennies = cents / penny; cents %= penny; int totalNickels = cents / nickel; cents %= nickel; int totalDimes = cents / dime; cents %= dime; int totalQuarters = cents / quarter; cents %= quarter; System.out.print(totalPennies + " pennies + "); System.out.print(totalNickels + " nickels + "); System.out.print(totalDimes + " dimes + "); System.out.println(totalQuarters + " quarters"