​若有 a=3, 则执行下列语句a+=a*=a,a的值为?

a*=a后a的值为9,那最后的结果应该是18 为什么会是12呢

老师我要学编程
浏览 1979回答 2
2回答

onemoo

我之前回答过这个问题,请参考:https://www.imooc.com/wenda/detail/387946

慕瓜9220888

OTRDFIFYLZOQCEHXRKZUNZBBTJKNCNWIFIVIQSEZLOIOIDHQPVPPCFWKDIHYKXEOTSRDTDGGVWZXZVYFYDOKEKIOLFXWYORRKKOWMMPJTNYOZDCZWZMTBFLFUZJDRBGZYRMJWTVYGLHJMQWWTIOWXUDQDSQJEXDGATSEHWSGUQAJMLEZQPCGFOOUHKGEITRUROIZVZKSMMVFPXBSKHXNXRWRKJFFZNRVZNSPLLFJMQUWSYYSSWWYUJPJMULLAYODTHDQUOGPVRLJSWLNWMXRONQMNTTJMUMQSTIBDMGJZUWSYGQEEYDYRGLFQTHZUASSLOLEYGFKDJCQXSASCAXDXTPOYAVWZWSSBGFLYVOUXYKAATGJMFQSEZMWWJVDICEOBOXJDPBKXKHYSTFRJMJCEXSYKWJWPFFDCOWJWDYZLLNIMPXXVQSEQDGDGNIBWSZMFYXOQSUOLOBZAQCUKXXUHFHQLSFCLVATIURKRONLLTFIFYQKOEWSFOZCGCOOPTNBXFNSBWAWQJKMIHVIOROMNTSXMFCMVWVPIVOVIXIUNQDGTJTEHNFICPCVAXZLOUYVBWCOQTTGMGVEGMPCZMYJPHNAMPXNHKPHEYRHSMSYHDUHKKFOEGXKYSRWYLHANKHGGLBQRECGPARXMAFJACSCTMNREYWHFLVIGUEWYXHNAGKYVRZPPZTHHCRXTHBTGKTEIQCQWEUGAWWFWQKOBXZJYSGKOIKFYOYDOYDRKCPZMZSPNPETGQVBAZKGJADQNRIUQZCFCSNUCBGAQDQFGFCTWNTTHOATOPZWTJNVRJISZMPNWIANRUKGEPKZFZFSRTEALIIBYUFSOUGTEYLAHXYIMSMSGUNJHHPHBDPLDNRLPTVBEXUSZJXWSFBPJGAYAXDLFPTURQMIYSWTTZKAGMQUHSZ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