how do i create java code that randomly assign numbers to letters, sum them, display them and store them in a database

how do i create java code that randomly assign numbers to letters,

With Random and a HashMap I suppose.

sum them,

"+" operator.

display them

A console or a Swing GUI

and store them in a database

JDBC

commented: you put a lot of effort in this response +5
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.