XML 24 R6.htm IDEA: XBRL DOCUMENT v3.24.4
UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
6 Months Ended
Nov. 30, 2024
Nov. 30, 2023
Cash provided (used) by operations:    
Net income $ 2,214 $ 3,028
Adjustments to reconcile net income to net cash provided (used) by operations:    
Depreciation 378 382
Deferred income taxes (188) (144)
Stock-based compensation 375 402
Amortization, impairment and other (9) (12)
Net foreign currency adjustments 54 (43)
Changes in certain working capital components and other assets and liabilities:    
(Increase) decrease in accounts receivable (943) (649)
(Increase) decrease in inventories (547) 493
(Increase) decrease in prepaid expenses, operating lease right-of-use assets and other current and non-current assets 140 (394)
Increase (decrease) in accounts payable, accrued liabilities, operating lease liabilities and other current and non-current liabilities (31) (312)
Cash provided (used) by operations 1,443 2,751
Cash provided (used) by investing activities:    
Purchases of short-term investments (2,084) (2,206)
Maturities of short-term investments 197 1,477
Sales of short-term investments 1,886 2,072
Additions to property, plant and equipment (249) (458)
Other investing activities 10 (10)
Cash provided (used) by investing activities (240) 875
Cash provided (used) by financing activities:    
Increase (decrease) in notes payable, net 43 0
Proceeds from exercise of stock options and other stock issuances 345 327
Repurchase of common stock (2,280) (2,331)
Dividends — common and preferred (1,115) (1,047)
Other financing activities (63) (100)
Cash provided (used) by financing activities (3,070) (3,151)
Effect of exchange rate changes on cash and equivalents (14) 3
Net increase (decrease) in cash and equivalents (1,881) 478
Cash and equivalents, beginning of period 9,860 7,441
CASH AND EQUIVALENTS, END OF PERIOD 7,979 7,919
Supplemental disclosure of cash flow information:    
Non-cash additions to property, plant and equipment 85 165
Dividends declared and not paid $ 597 $ 565